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)
committerFelix Fietkau <nbd@nbd.name>
Tue, 9 Jan 2024 10:19:45 +0000 (11:19 +0100)
commit9cd0023e54adf8b06762c58585b7cb225e5fb2d6
tree2c7ade18c58bee92cebd30ecde829f3fa6becfc2
parent3bf602d740765db52d96733d172093a4b9a69915
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