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

From: DaeSeok Youn
Date: Tue May 20 2014 - 20:31:43 EST


I was already sent for this. :-)
https://lkml.org/lkml/2014/5/16/114

Regards,
Daeseok Youn.

2014-05-21 6:48 GMT+09:00 Dan Carpenter <dan.carpenter@xxxxxxxxxx>:
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/