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)
Tue, Mar 11, 1:50 PM
Unknown Object (File)
Feb 22 2025, 2:24 PM
Unknown Object (File)
Feb 9 2025, 11:23 AM
Unknown Object (File)
Feb 9 2025, 11:00 AM
Unknown Object (File)
Feb 6 2025, 3:34 AM
Unknown Object (File)
Feb 6 2025, 3:22 AM
Unknown Object (File)
Feb 4 2025, 6:13 AM
Unknown Object (File)
Jan 23 2025, 6:31 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