From: Bing Zhao Date: Wed, 8 Jan 2014 23:45:56 +0000 (-0800) Subject: mwifiex: fix potential buffer overflow in dt configuration X-Git-Tag: v3.14-rc1~94^2~238^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63791ccd4690e5c6b3f060bcd2b846e31bd0b423;p=pandora-kernel.git mwifiex: fix potential buffer overflow in dt configuration If cfgdata length exceeds the command buffer size we will end up getting buffer overflow problem. Fix it by checking the buffer size less the command header length. Reviewed-by: Paul Stewart Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed