]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: off by one in nl80211_trigger_scan()
authorDan Carpenter <error27@gmail.com>
Fri, 29 Jul 2011 08:52:18 +0000 (11:52 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Aug 2011 17:46:46 +0000 (13:46 -0400)
commit8a873549faaea404547306cede7575ce206d9b5e
treeaebf0450b90994be5e51aa9486770a31068c1e40
parent5c22ae8aee9187a5779cb06cacb1d1813cde5dcd
cfg80211: off by one in nl80211_trigger_scan()

The test is off by one so we'd read past the end of the
wiphy->bands[] array on the next line.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c