diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-11-29 15:45:18 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-30 16:41:26 +0400 |
commit | c604b9f219422e969fe371cc7259de34c3c5601d (patch) | |
tree | 01f8773dbdc25cc7d044b0e371acf3a763af1604 /include/net | |
parent | f94f8b168cf2e46da180bbba2afd626d7af0579d (diff) | |
download | linux-c604b9f219422e969fe371cc7259de34c3c5601d.tar.xz |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions