HomeFreeBSD

MFC r343238:

Description

MFC r343238:
urtw(4): add length checks in Rx path.

  • Check if buffer can contain Rx descriptor before accessing it.
  • Verify upper / lower bounds for frame length.
  • Do not pass too short frames into ieee80211_find_rxnode().

While here:

  • Move cleanup to the function end.

Details

Provenance
avosAuthored on
Parents
rS343514: MFC r343238:
Branches
Unknown
Tags
Unknown