Re: Minor memory leak at iptables/nft.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Егор Будюкин <zhora.budyukin111@xxxxxxxxx> wrote:
> I'd like to propose a patch fixing a minor memory leak found with a
> static analyzer. It can be found at __add_target and __add_match
> functions, where info is callocated as a buffer and not freed
> afterwards.

I don't see a bug in either of these functions.
struct nftnl_expr assumes ownership of the allocated blob.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux