HomeFreeBSD

net80211: ieee80211_ies_expand() add extra length check

Description

net80211: ieee80211_ies_expand() add extra length check

Make sure the given IE length fits into the total length left when
parsing through the information elements. In theory I would say
discard everything if there is an error but that proves hard with
the current code.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D36245

Details

Provenance
bzAuthored on Aug 17 2022, 4:48 PM
Reviewer
adrian
Differential Revision
D36245: net80211: ieee80211_ies_expand() add extra length check
Parents
rG4a7e8c7bd40b: LinuxKPI: extend kfifo to be usable
Branches
Unknown
Tags
Unknown