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
Unknown Object (File)
Sat, May 30, 6:42 AM
Unknown Object (File)
Fri, May 29, 7:38 PM
Unknown Object (File)
May 14 2026, 5:16 PM
Unknown Object (File)
Apr 29 2026, 8:23 AM
Unknown Object (File)
Apr 29 2026, 8:15 AM
Unknown Object (File)
Apr 28 2026, 2:35 PM
Unknown Object (File)
Apr 28 2026, 10:33 AM
Unknown Object (File)
Apr 25 2026, 2:33 AM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 58078
Build 54966: arc lint + arc unit