staging: lustre: lustre: ptlrpc: sec_config.c: Fix for possible null pointer dereference
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Mon, 19 May 2014 21:42:08 +0000 (23:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:05:36 +0000 (21:05 +0900)
commitfe456ff4bce247e4444bef847ba4905647664895
tree2fa5281c507b1f0278eeef5b4b5e86bef99daafa
parent3456a40e8f5ef46aaba1fcd0f9dfcffa4cdf0c8b
staging: lustre: lustre: ptlrpc: sec_config.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/ptlrpc/sec_config.c