]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ie memory allocation for scheduled scans
authorLuciano Coelho <coelho@ti.com>
Thu, 7 Jul 2011 12:18:27 +0000 (15:18 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Jul 2011 17:06:08 +0000 (13:06 -0400)
commitcbe2c136c16b53131164b40253c862ab5da44cf2
tree7c896a4440ec281f7d8dc82adfd79bd7cf8475f4
parentff5ab2bf02cf7da2f10a2e636979cffc77b2d635
mac80211: fix ie memory allocation for scheduled scans

We were not allocating memory for the IEs passed in the scheduled_scan
request and this was causing memory corruption (buffer overflow).

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/scan.c