]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: usb_intf.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Tue, 20 May 2014 21:34:25 +0000 (23:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:58:22 +0000 (01:58 +0900)
commit25ba57936e1f0e6a0e303302edbad329aa28a4cd
treeefc2b489ae7feeb914f3d500f2d1d3dedd2cb3bf
parentcf63f52e6d88d06cb47f139af00b0524ca79d4cc
staging: rtl8712: usb_intf.c: Fix for possible null pointer dereference

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@spectrumdigital.se>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/usb_intf.c