[PATCH] Fix for possible null pointer dereference in node.c

Dan Carpenter dan.carpenter at oracle.com
Thu May 15 22:43:27 UTC 2014


On Thu, May 15, 2014 at 11:53:53PM +0200, Rickard Strandqvist wrote:
> There is otherwise a risk of a possible null pointer dereference.
> 

None of the callers pass in a NULL hnode so there isn't actually a NULL
dereference here.  You could just remove the check.

regards,
dan carpenter



More information about the devel mailing list