Re: net/ncsi: prevent memory leak in ncsi_rsp_handler_gc

From: Markus Elfring
Date: Fri Sep 27 2019 - 09:40:46 EST


> > > 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