]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Fix deferred first link BSS's authentication server init
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Mon, 22 Apr 2024 11:19:03 +0000 (16:49 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 11 Jun 2024 20:41:03 +0000 (23:41 +0300)
commit3cf7bf68f43d454b25ca93a813a3d27b1ee74a94
treed23a2cdb144bea4546b0d25a0292ce2a0d3d0dae
parent2829f1c4391ef0830cb789108675ad72d111dc38
AP MLD: Fix deferred first link BSS's authentication server init

Currently, RADIUS client, auth server, and 802.1X are copied from the
first link's BSS into the non-first link during its setup. However,
there could be a case where the first link is not initialized fully
because of ACS/HT40 SCAN/DFS. Hence, in such cases, NULL is getting
copied and later it leads to segmentation fault.

Initialize those on behalf of the first link in such case and update it
so that the next time other non-first link can use it.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/authsrv.c
src/ap/hostapd.c
src/ap/ieee802_1x.c