Thread (2 messages) 2 messages, 2 authors, 2011-03-27

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

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2011-03-27 09:17:46
Also in: linux-wireless, lkml

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 <redacted>
Acked-by: Johannes Berg <johannes@sipsolutions.net>

I guess, not that it matters much since it's extremely unlikely somebody
will attemt to misuse this function :-)

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help