[PATCH] staging: vt6656: iwctl_giwaplist() warn: possible memory leak of 'qual'

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Nov 15 00:33:55 UTC 2012


On Wed, Nov 14, 2012 at 07:33:34PM +0000, Malcolm Priestley wrote:
> On Wed, 2012-11-14 at 08:34 +0800, Xie ChanglongX wrote:
> > Hi Malcolm,
> > 
> > FYI, there are new smatch warnings show up in
> > 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
> > head:   1f168dbdf731dea301a297e2409adc4a54ed6612
> > commit: 848ce5112e7fcb38aaafff28253314da330b681e [456/499] staging: vt6656: iwctl_giwaplist/device_ioctl : use off stack buffers.
> >From 3d37e54034217a561f6f66e74af6a75e4320fb61 Mon Sep 17 00:00:00 2001
> From: Malcolm Priestley <tvboxspy at gmail.com>
> Date: Wed, 14 Nov 2012 19:19:59 +0000
> Subject: [PATCH] vt6656: staging: iwctl_giwaplist() warn: possible memory
>  leak of 'qual'
> 
> Signed-off-by: Malcolm Priestley <tvboxspy at gmail.com>
> ---
>  drivers/staging/vt6656/iwctl.c |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Um, what's with the wierd way to send me a patch?  Care to resend it
in a format I can apply it and not such that I have to edit it by hand?

thanks,

greg k-h



More information about the devel mailing list