[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1424474919.2979.41.camel@jtkirshe-mobl>
Date: Fri, 20 Feb 2015 15:28:39 -0800
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc: Linux NICS <linux.nics@...el.com>,
e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org
Subject: Re: [PATCH] i40e: Fix memory leak at failure path in
i40e_dbg_command_write()
On Sat, 2015-02-21 at 01:24 +0300, Alexey Khoroshilov wrote:
> The patch fixes a leak of 'cmd_buf' when copy_from_user() failed
> in i40e_dbg_command_write().
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
> ---
> drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Thanks Alexey, I have added your patch to my queue.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists