summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-05-29 11:25:00 +0300
committerJohannes Berg <johannes.berg@intel.com>2026-06-03 15:11:57 +0300
commite48223525a54d3a3182d2d9a497dca022b942b4d (patch)
tree4637b97c147d3447c47a5b1557242929996c5b60 /include/linux
parentc93db0bfff162b01fae17a674ff2bd3ae8ec37d3 (diff)
downloadlinux-e48223525a54d3a3182d2d9a497dca022b942b4d.tar.xz
wifi: cfg80211: harden cfg80211_defragment_element()
A previous commit changed mac80211 to no longer make wrong calls to cfg80211_defragment_element() with the element pointing outside of the buffer. Additionally, harden this function itself against that and always return -EINVAL in case the element isn't inside the source buffer. Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com> Link: https://patch.msgid.link/20260529102644.198945754054.I5ae8fdebf9008abc6e15d0b0f10c3a7b73d02eab@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions