aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMathy Vanhoef <[email protected]>2021-05-11 20:02:44 +0200
committerJohannes Berg <[email protected]>2021-05-11 20:13:03 +0200
commita1d5ff5651ea592c67054233b14b30bf4452999c (patch)
treeed74459ba67456ba80a693552b597f0d5b8d00fe /lib/test_fortify/write_overflow-strncpy-src.c
parent94034c40ab4a3fcf581fbc7f8fdf4e29943c4a24 (diff)
mac80211: properly handle A-MSDUs that start with an RFC 1042 header
Properly parse A-MSDUs whose first 6 bytes happen to equal a rfc1042 header. This can occur in practice when the destination MAC address equals AA:AA:03:00:00:00. More importantly, this simplifies the next patch to mitigate A-MSDU injection attacks. Cc: [email protected] Signed-off-by: Mathy Vanhoef <[email protected]> Link: https://lore.kernel.org/r/20210511200110.0b2b886492f0.I23dd5d685fe16d3b0ec8106e8f01b59f499dffed@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions