Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 0b8fb82 ("cfg80211: Parsing of Multiple BSSID information in scanning") Reported-by: Soenke Huster <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information