[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180509123203.ppangv6gdzppj3iv@salvia>
Date: Wed, 9 May 2018 14:32:03 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Colin King <colin.king@...onical.com>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
"David S . Miller" <davem@...emloft.net>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: nf_tables: fix memory leak on error exit
return
On Wed, May 09, 2018 at 01:22:56PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently the -EBUSY error return path is not free'ing resources
> allocated earlier, leaving a memory leak. Fix this by exiting via the
> error exit label err5 that performs the necessary resource clean
> up.
>
> Detected by CoverityScan, CID#1432975 ("Resource leak")
Applied, thanks.
Powered by blists - more mailing lists