From: Amitkumar Karwar Date: Tue, 22 Oct 2013 22:24:46 +0000 (-0700) Subject: mwifiex: fix invalid memory access in mwifiex_update_autoindex_ies() X-Git-Tag: v3.13-rc1~33^2~27^2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c85adfff5a8462aeea70796314c39dab1d9cc2;p=pandora-kernel.git mwifiex: fix invalid memory access in mwifiex_update_autoindex_ies() While parsing TLVs, return failure if number of remaining bytes are less than current tlv length. This avoids invalid memory access. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed