[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1301217456.3826.3.camel@jlt3.sipsolutions.net>
Date: Sun, 27 Mar 2011 11:17:36 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Mariusz Kozlowski <mk@....zgora.pl>
Cc: "John W. Linville" <linville@...driver.com>,
"David S. Miller" <davem@...emloft.net>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mac80211: fix possible NULL pointer dereference
On Sat, 2011-03-26 at 18:58 +0100, Mariusz Kozlowski wrote:
> This patch moves 'key' dereference after BUG_ON(!key) so that when key is NULL
> we will see proper trace instead of oops.
>
> Signed-off-by: Mariusz Kozlowski <mk@....zgora.pl>
Acked-by: Johannes Berg <johannes@...solutions.net>
I guess, not that it matters much since it's extremely unlikely somebody
will attemt to misuse this function :-)
johannes
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists