Repository navigation
Commit b5ac014
committed
cfg80211: check S1G beacon compat element length
We need to check the length of this element so that we don't
access data beyond its end. Fix that.
Fixes: 9eaffe5 ("cfg80211: convert S1G beacon to scan results")
Link: https://lore.kernel.org/r/20210408142826.f6f4525012de.I9fdeff0afdc683a6024e5ea49d2daa3cd2459d11@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent b57aa17 commit b5ac014
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2352 | 2352 | | |
2353 | 2353 | | |
2354 | 2354 | | |
2355 | | - | |
2356 | | - | |
| 2355 | + | |
| 2356 | + | |
2357 | 2357 | | |
2358 | | - | |
2359 | | - | |
2360 | | - | |
| 2358 | + | |
| 2359 | + | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
2361 | 2363 | | |
2362 | | - | |
| 2364 | + | |
2363 | 2365 | | |
2364 | 2366 | | |
2365 | 2367 | | |
| |||
0 commit comments