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

From: Dan Carpenter
Date: Thu May 15 2014 - 18:43:52 EST


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

--
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/