From: Kumar Amit Mehta Date: Mon, 26 Jan 2015 15:39:14 +0000 (+0100) Subject: staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0137f1a019952f955f4050495be6725a5f92eb5b;p=pandora-kernel.git staging: rtl8188eu: core: rtw_wlan_util.c: Fix for NULL dereference In rtw_check_bcn_info(), check the return value of kzalloc() before dereferencing it, to avoid NULL pointer dereference. Signed-off-by: Kumar Amit Mehta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed