mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
mac80211: make ieee80211_build_preq_ies safer
Instead of assuming 200 bytes are always enough for all the IEs we add, give the length of the buffer to the function and warn instead of overrunning. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
f94f8b168c
commit
c604b9f219
3 changed files with 41 additions and 17 deletions
Loading…
Add table
Add a link
Reference in a new issue