[0.6.x PATCH] Fix segfault when D-Bus interface is compiled in but not enabled at runtime
Dan Williams
dcbw
Sun Dec 9 09:23:41 PST 2007
On Sat, 2007-12-08 at 19:33 -0800, Jouni Malinen wrote:
> 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.
Ah, ok. The patch applied to git just fine, but yours is better.
Thanks.
Dan
More information about the Hostap
mailing list