commit | 01c85adfff5a8462aeea70796314c39dab1d9cc2 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Tue Oct 22 15:24:46 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Nov 11 14:38:57 2013 -0500 |
tree | 85168c8292f1bb2657b221c5a8fae007b2643c8c | |
parent | 2636c308fd720137d719c91da95adca2cd8f1c51 [diff] |
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 <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>