Skip to content
Snippets Groups Projects
Commit 4d048aac authored by Jesper Juhl's avatar Jesper Juhl Committed by John W. Linville
Browse files

wireless, wl1251: Fix potential NULL pointer dereference in wl1251_op_bss_info_changed()


In drivers/net/wireless/wl1251/main.c:wl1251_op_bss_info_changed() we make
a call to ieee80211_beacon_get() which may return NULL, but we do not
check the return value before dereferencing the pointer.

Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4334ec85
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment