Re: [PATCH] Don't potentially dereference NULL innet/dcb/dcbnl.c:dcbnl_getapp()

From: David Miller
Date: Sun Feb 13 2011 - 14:21:23 EST


From: Jesper Juhl <jj@xxxxxxxxxxxxx>
Date: Thu, 10 Feb 2011 22:57:16 +0100 (CET)

> nla_nest_start() may return NULL. If it does then we'll blow up in
> nla_nest_end() when we dereference the pointer.
>
> Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>

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