From: Jesper Juhl Date: Thu, 3 Feb 2011 20:14:01 +0000 (+0100) Subject: wireless, wl1251: Fix potential NULL pointer dereference in wl1251_op_bss_info_changed() X-Git-Tag: v2.6.38-rc5~50^2~15^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d048aac990d587c81fc1002e28502e6f95371ee;p=pandora-kernel.git 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: Jesper Juhl Signed-off-by: John W. Linville --- Reading git-diff-tree failed