[PATCH] AP: Fix a crash in hostapd_driver_init()
Jouni Malinen
j at w1.fi
Sat Dec 21 01:52:14 PST 2024
On Sun, Sep 01, 2024 at 07:31:35PM +0300, Andrei Otcheretianski wrote:
> In case of MLD AP it is assumed that the multi link information
> (hapd->mld) is already initialized by the time this function is called.
> However, if the interface is added without bss_config parameter,
> hostapd_bss_setup_multi_link() would bail out immediately as mld_ap
> parameter isn't set yet.
> When the interface gets enabled later, hapd->mld would be NULL resulting
> in NULL dereference.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list