Re: [PATCH nf] netfilter: nf_tables: fix memory leak if expr init fails

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

 



On Mon, Jun 20, 2016 at 09:11:45PM +0800, Liping Zhang wrote:
> From: Liping Zhang <liping.zhang@xxxxxxxxxxxxxx>
> 
> If expr init fails then we need to free it.
> 
> So when the user add a nft rule as follows:
>   # nft add rule filter input tcp dport 22 flow table ssh \
>     { ip saddr limit rate 0/second }
> memory leak will happen.

Applied to nf, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux