From: Jes Sorensen Date: Sat, 26 Apr 2014 16:54:49 +0000 (+0200) Subject: staging: rtl8723au: Check kmalloc return value and fix size of memcpy() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bd28bc2e4748d828a03dabd6122f004e31b9e98;p=pandora-kernel.git staging: rtl8723au: Check kmalloc return value and fix size of memcpy() Check kmalloc() return before dereferencing bssid in rtw_check_bcn_info23a() and use the correct size to copy rtw_basic_rate_ofdm in update_bmc_sta_support_rate23a() Reported-by: Dan Carpenter Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed