The deactivated wpa-supplicant 0.7 support code contains a typo that could cause a NULL dereference if wpa-supplicant dies at just the right time.
Signed-off-by: Sascha Silbe <[email protected]> --- powerd-dbus/wpas_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerd-dbus/wpas_monitor.c b/powerd-dbus/wpas_monitor.c index e28964f..c54530f 100644 --- a/powerd-dbus/wpas_monitor.c +++ b/powerd-dbus/wpas_monitor.c @@ -110,7 +110,7 @@ static void monitor_interface(const gchar *path) 0, NULL, WPAS_SERVICE, path, WPAS_INTERFACE_IFACE, NULL, &error); - if (!wpas_obj) { + if (!proxy) { g_warning("Error creating wpas interface proxy: %s\n", error->message); g_error_free(error); return; -- 1.7.10 _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
