Page MenuHomeFreeBSD

LinuxKPI: 802.11: initalize lsta to NULL in linuxkpi_ieee80211_rx()
ClosedPublic

Authored by bz on Jun 5 2024, 10:38 PM.
Tags
None
Referenced Files
F108309543: D45507.id139540.diff
Thu, Jan 23, 6:31 PM
Unknown Object (File)
Sat, Jan 18, 9:30 PM
Unknown Object (File)
Tue, Jan 14, 3:57 AM
Unknown Object (File)
Fri, Jan 10, 4:36 PM
Unknown Object (File)
Fri, Jan 10, 12:47 PM
Unknown Object (File)
Nov 19 2024, 1:07 AM
Unknown Object (File)
Nov 12 2024, 7:29 PM
Unknown Object (File)
Oct 20 2024, 10:50 PM

Details

Summary

The logic following this new assignment in some cases may not set lsta
but the later tracing is checking for it to be != NULL.
with lsta not initialized that check may not hold up and later we would
dereference lsta->state and possibly panic.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable