diff options
author | Mariusz Kozlowski <mk@lab.zgora.pl> | 2011-03-26 14:26:55 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-28 15:42:02 -0400 |
commit | bef9bacc4ec7ea6a02876164cd6ccaa4759edce4 (patch) | |
tree | e68100ba3efa0ce2a13636027565f422e55bbd95 /net/batman-adv/send.c | |
parent | 67aa030c0dff6095128bcb4e8043b48360f32331 (diff) |
cfg80211:: fix possible NULL pointer dereference
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@lab.zgora.pl>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/batman-adv/send.c')
0 files changed, 0 insertions, 0 deletions