[PATCH] staging: ozwpan: ozproto.c: Fix for possible null pointer dereference

Dan Carpenter dan.carpenter at oracle.com
Tue May 20 21:48:46 UTC 2014


On Tue, May 20, 2014 at 11:28:59PM +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.
> 

This is the empty string by default, or a module parameter.  I have
looked at param_set_charp() and I don't think a string module parameter
can be a NULL pointer.

regards,
dan carpenter



More information about the devel mailing list