[0.6.x PATCH] Fix segfault when D-Bus interface is compiled in but not enabled at runtime
dcbw at redhat.com
Sun Dec 9 12:23:41 EST 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:
> 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.
More information about the HostAP