hostapd: add missing NULL pointer check on radar notification
authorFelix Fietkau <nbd@nbd.name>
Tue, 9 Jan 2024 10:05:45 +0000 (11:05 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 27 Feb 2024 16:17:50 +0000 (11:17 -0500)
commit3cbdba4d282311d7a69c0ef0e3d001e81c59512e
treead89fd5cd33160a1f2221fc555ff2ad3383a3f5d
parent0d30dd93baf9036f2e5a440e0a85390409eee909
hostapd: add missing NULL pointer check on radar notification

Fixes a race condition that can lead to a hostapd crash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit d864f68232e910f2c8ab06a66347fc08c257dfcc)
package/network/services/hostapd/src/src/ap/ubus.c