Re: [PATCH] cfg80211:: fix possible NULL pointer dereference

From: Johannes Berg
Date: Sun Mar 27 2011 - 05:18:34 EST


On Sat, 2011-03-26 at 19:26 +0100, Mariusz Kozlowski wrote:
> In cfg80211_inform_bss_frame() wiphy is first dereferenced on privsz
> initialisation and then it is checked for NULL. This patch fixes that.
>
> Signed-off-by: Mariusz Kozlowski <mk@xxxxxxxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

Thanks!

johannes


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