]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: potential corruption in mwifiex_update_uap_custom_ie()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 23 Sep 2012 16:33:00 +0000 (19:33 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Sep 2012 19:57:43 +0000 (15:57 -0400)
commitc884427aa81f1fb9023450854f9d62d5e2618df1
treed0c5e124a1b94dfad257ccca693df7bf0a2fca30
parent767aff5ef674e4bc33a684f1001d3822423be851
mwifiex: potential corruption in mwifiex_update_uap_custom_ie()

ap_custom_ie is a struct mwifiex_ie_list which is quite different and
also larger than struct mwifiex_ie.  It's a difference between 4196
bytes and 262.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Stone Piao <piaoyun@marvell.com>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/ie.c