Re: [PATCH] dereference of uninitialized pointer in zatm

From: David S. Miller
Date: Fri Sep 02 2005 - 14:18:34 EST


From: viro@xxxxxxxxxxxxxxxxxx
Date: Fri, 2 Sep 2005 19:46:42 +0100

> Fixing breakage from [NET]: Kill skb->list - original was
> assign vcc
> do a bunch of stuff using ZATM_VCC(vcc)->pool as common subexpression
> Now we do
> int pos = ZATM_VCC(vcc)->pool;
> assign vcc
> do a bunch of stuff
> even though vcc is not even initialized when we enter that block...
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

Applied, thanks Al.
-
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/