[PATCH] hostapd: Fix segfault after ACS when flushing STAs
j at w1.fi
Mon Oct 14 14:17:02 EDT 2013
On Thu, Oct 10, 2013 at 09:48:56AM +0200, Helmut Schaa wrote:
> When hostapd receives an auth frame during ACS the transmission of
> the according auth response will always fail:
> Fix this by not presuming anything about the initialization state of
> hapd and checking ->radius before accessing.
> Actually, this is more a workaround then a proper fix since I think
> hostapd should not accept any mgmt frames during ACS and as such the
> STA list should always be empty. However, accessing anything outside
> the scope of a single sta_info from ap_free_sta should be protected by
> a NULL check.
Jouni Malinen PGP id EFC895FA
More information about the HostAP