From: Luciano Coelho Date: Mon, 10 Nov 2014 07:25:17 +0000 (+0200) Subject: wlcore: check minimum buffer size in some cmd_send functions X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b8f4790bb5dfd541f9d61589357ea6042cc668;p=pandora-kernel.git wlcore: check minimum buffer size in some cmd_send functions Check for the minimum required buffer length in wlcore_cmd_send() and wlcore_cmd_configure_failsafe. This ensures that we will never try to use a buffer that is smaller than the required header. Reported-by: Dan Carpenter Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed