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)
Sun, Oct 20, 10:50 PM
Unknown Object (File)
Oct 3 2024, 4:45 PM
Unknown Object (File)
Sep 25 2024, 9:46 PM
Unknown Object (File)
Sep 24 2024, 6:02 PM
Unknown Object (File)
Sep 24 2024, 6:25 AM
Unknown Object (File)
Sep 18 2024, 3:48 PM
Unknown Object (File)
Sep 8 2024, 6:27 AM
Unknown Object (File)
Sep 1 2024, 12:41 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 Not Applicable
Unit
Tests Not Applicable