diff options
author | Will Deacon <will@kernel.org> | 2019-10-04 10:51:31 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-10-04 14:01:14 +0200 |
commit | 4152561f5da3fca92af7179dd538ea89e248f9d0 (patch) | |
tree | ee65bdc3d24161e21a99abf6da6a19b8b40955bb /net/mac80211/rate.h | |
parent | 313c3fe9c2348e7147eca38bb446f295b45403a0 (diff) | |
download | linux-4152561f5da3fca92af7179dd538ea89e248f9d0.tar.bz2 |
mac80211: Reject malformed SSID elements
Although this shouldn't occur in practice, it's a good idea to bounds
check the length field of the SSID element prior to using it for things
like allocations or memcpy operations.
Cc: <stable@vger.kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Reported-by: Nicolas Waisman <nico@semmle.com>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20191004095132.15777-1-will@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rate.h')
0 files changed, 0 insertions, 0 deletions