Re: [PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference

From: Dan Carpenter
Date: Tue May 20 2014 - 18:04:51 EST


On Mon, May 19, 2014 at 11:39:00PM +0200, Rickard Strandqvist wrote:
> There is otherwise a risk of a possible null pointer dereference.
>
> Was largely found by using a static code analysis program called cppcheck.
>
> Signed-off-by: Rickard Strandqvist <rickard_strandqvist@xxxxxxxxxxxxxxxxxx>

This one is called from line6_disconnect() and the caller checks that
usb_get_intfdata(interface); returns non-NULL. So it's messy code but
not a real bug.

For the lustre ones, I don't know if they are real bugs or not.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/