Re: [PATCH] vsprintf: Prevent NULL dereference using %pNF

From: Joe Perches
Date: Tue Jan 17 2012 - 13:51:15 EST


On Tue, 2012-01-17 at 13:46 -0500, David Miller wrote:
> From: Joe Perches <joe@xxxxxxxxxxx>
> Date: Tue, 17 Jan 2012 10:37:13 -0800
> > Passing NULL to %pNF is done in skb_gso_segment
> > which could be dereferenced.
> skb_gso_segment() should be fixed instead.

Maybe. Dereferencing NULL is bad form.
MichaÅ MirosÅaw should fix that as it's his patch.

noinline_for_stack should be added anyway.


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