]> git.baikalelectronics.ru Git - kernel.git/commit
rndis_wlan: increase assocbuf size and validate association info offsets from driver
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Tue, 18 May 2010 08:27:31 +0000 (11:27 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:20 +0000 (16:13 -0400)
commit7551c681add552b5403eacfd2f15728d306f3d9f
tree562226b42dd5881b1efef9baf6c424d638bbb0ba
parent1208ecdcc944409d9f7cac8fceb634c99bb85e90
rndis_wlan: increase assocbuf size and validate association info offsets from driver

Buffer size for get_association_info was limited to WEXT event size. Since association
info no longer is sent through WEXT, this limit is not needed. Code also did not
check if data get truncated, memory outside buffer might be addressed. Fix all these.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c