[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2bee11b1-b6f9-8d5f-1e94-5ce9d2381d9a@web.de>
Date: Fri, 27 Sep 2019 15:40:17 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Navid Emamdoost <navid.emamdoost@...il.com>, netdev@...r.kernel.org
Cc: Navid Emamdoost <emamd001@....edu>, Kangjie Lu <kjlu@....edu>,
Stephen A McCamant <smccaman@....edu>,
Al Viro <viro@...iv.linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Samuel Mendoza-Jonas <sam@...dozajonas.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: net/ncsi: prevent memory leak in ncsi_rsp_handler_gc
> > > In ncsi_rsp_handler_gc if allocation for nc->vlan_filter.vids fails the
> > > allocated memory for nc->mac_filter.addrs should be released.
…
> The problem is that just by traversing the code using tools
> like ctags or elixir I couldn't find any caller to ncsi_rsp_handler_gc
> that handles such errnos.
Would you like to collaborate with higher level source code analysis tools?
How do you think about to add the tag “Fixes” here?
Regards,
Markus
Powered by blists - more mailing lists