wifi: cfg80211: ensure length byte is present before access
When iterating the elements here, ensure the length byte is present before checking it to see if the entire element will fit into the buffer. Longer term, we should rewrite this code using the type-safe element iteration macros that check all of this. Fixes: 0b8fb823 ("cfg80211: Parsing of Multiple BSSID information in scanning") Reported-by:Soenke Huster <shuster@seemoo.tu-darmstadt.de> Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Loading
-
mentioned in commit 7da68bed
-
mentioned in commit d56839bb
-
mentioned in commit 71be3c64
-
mentioned in commit f972539c
-
mentioned in commit 63b999f7
-
mentioned in commit 475bb82d
-
mentioned in commit eca4f582
-
mentioned in commit ac3a2c60
-
mentioned in commit 38709256
-
mentioned in commit 9f158ad6
-
mentioned in commit ecb346f9
-
mentioned in commit 3d8cb1e0
-
mentioned in commit 83669eba
-
mentioned in commit 4a88fa84
-
mentioned in commit 7d51a3de
-
mentioned in commit 740a2108
-
mentioned in commit 2476d9b5
Please sign in to comment