]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: lustre: lov: lov_obd.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Mon, 19 May 2014 21:40:35 +0000 (23:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:05:35 +0000 (21:05 +0900)
commit88e17c54dfbae840aa31e53caa963070f8277b49
tree5488e4ceac626339f246e078aa7cb7d51840e90a
parent8189cf51b14428dfdadc023cf90c4a0ab46405ce
staging: lustre: lustre: lov: lov_obd.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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_obd.c