[PATCH] hostapd: Fix segfault after ACS when flushing STAs

Jouni Malinen j
Mon Oct 14 11:17:02 PDT 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.

Thanks, applied.

> 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.

Agreed.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list