diff options
author | Mariusz Kozlowski <[email protected]> | 2011-03-26 18:58:51 +0100 |
---|---|---|
committer | John W. Linville <[email protected]> | 2011-03-28 15:42:02 -0400 |
commit | 67aa030c0dff6095128bcb4e8043b48360f32331 (patch) | |
tree | 91f839fbe604cf1f96a12b2ca09bb65a317fe284 /net/lapb/lapb_in.c | |
parent | 1f951a7f8ba05192291f781ef99a892697e47d62 (diff) |
mac80211: fix possible NULL pointer dereference
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 <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions