hostapd: fix a crash corner case
authorFelix Fietkau <nbd@nbd.name>
Wed, 10 Apr 2024 11:46:40 +0000 (13:46 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 11 Jul 2024 15:26:11 +0000 (11:26 -0400)
commita8e103c998b2f6ae1516513dcc8e5fa79c0829a6
tree1502f41f267b14e59c6301c37945fe87d73c76f9
parentebe4e6efdc83de7befe11e67075b45ae29d16e95
hostapd: fix a crash corner case

On some setup failures, iface->bss can be NULL

Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 1ee5b7e506f937e16737472eed02bc5409716304)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/src/src/ap/ucode.c