Re: [PATCH] tty: ipwireless: fix possible NULL dereference

From: Greg Kroah-Hartman
Date: Thu Apr 07 2016 - 10:28:16 EST


On Thu, Apr 07, 2016 at 03:47:54PM +0200, Jiri Kosina wrote:
> On Wed, 6 Apr 2016, Sudip Mukherjee wrote:
>
> > The function alloc_ctrl_packet() can fail and return NULL. Incase it
> > fails print an error message and exit.
> >
> > Signed-off-by: Sudip Mukherjee <sudip.mukherjee@xxxxxxxxxxxxxxx>
>
> Reviewed-by: Jiri Kosina <jkosina@xxxxxxx>
>
> I don't have the git tree for this driver any more ... Greg, would you
> mind taking this through your misc driver tree?

Yes, I'll take it.

thanks,

greg k-h