From 0137f1a019952f955f4050495be6725a5f92eb5b Mon Sep 17 00:00:00 2001 From: Kumar Amit Mehta Date: Mon, 26 Jan 2015 16:39:14 +0100 Subject: [PATCH] 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-format-patch failed