[PATCH] staging: line6: toneport.c: Fix for possible null pointer dereference
Dan Carpenter
dan.carpenter at oracle.com
Tue May 20 22:04:35 UTC 2014
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 at spectrumdigital.se>
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
More information about the devel
mailing list