Messages in this thread | | | Subject | Re: [PATCH] i40e: Fix memory leak at failure path in i40e_dbg_command_write() | From | Jeff Kirsher <> | Date | Fri, 20 Feb 2015 15:28:39 -0800 |
| |
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@ispras.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. [unhandled content-type:application/pgp-signature] | |