[PATCH] radius: sanity check for null pointer segfault
Jouni Malinen
j at w1.fi
Thu Aug 18 00:38:21 PDT 2016
On Wed, Aug 17, 2016 at 07:29:39PM +0200, Eduardo Abinader wrote:
> When no radius is configured, mib command is segfaulting
> hostapd.
Could you please provide an example configuration and hostapd debug log
showing this? I'm not sure how it would be possible to get into
radius_client_get_mib() with radius == NULL since this parameter comes
from hapd->radius and that pointer is required to be non-NULL when a BSS
is operational. This is the case regardless of whether there are
configured RADIUS servers.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list