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, Oct 11, 2:29 PM
Unknown Object (File)
Sat, Oct 11, 2:29 PM
Unknown Object (File)
Sat, Oct 11, 2:29 PM
Unknown Object (File)
Sat, Oct 11, 6:06 AM
Unknown Object (File)
Thu, Oct 2, 4:45 PM
Unknown Object (File)
Tue, Sep 30, 11:39 AM
Unknown Object (File)
Sep 14 2025, 10:27 AM
Unknown Object (File)
Sep 14 2025, 6:31 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