[0.6.x PATCH] Fix segfault when D-Bus interface is compiled in but not enabled at runtime

Jouni Malinen j
Sat Dec 8 19:33:08 PST 2007


On Thu, Dec 06, 2007 at 04:48:27PM -0500, Dan Williams wrote:

> --- wpa_supplicant-0.5.7/wpa_supplicant.c.global-iface-segfault-fix	2007-10-09 17:34:25.000000000 -0400
> @@ -2352,7 +2352,8 @@ static void wpa_supplicant_deinit_iface(
> -	wpas_dbus_unregister_iface(wpa_s);
> +	if (wpa_s->global)
> +		wpas_dbus_unregister_iface(wpa_s);

This does not look necessary anymore as far as I can tell. I fixed this
segfault in ctrl_iface_dbus.c in February:
http://w1.fi/cgi-bin/viewcvs.cgi/hostap/wpa_supplicant/ctrl_iface_dbus.c?r1=1.17&r2=1.18

This fix was included in 0.5.8 and 0.6.0.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list