8e5f078fb9
This unref is guaranteed to be freeing a NULL pointer. Tested manually: use dbus-send to send an invalid debug level parameter Before change: $ dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set string:fi.w1.wpa_supplicant1 string:DebugLevel variant:string:msgdumpf Error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) (and then wpa_supplicant crashes) After change: $ dbus-send --system --dest=fi.w1.wpa_supplicant1 --print-reply /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.Set string:fi.w1.wpa_supplicant1 string:DebugLevel variant:string:msgdumpf Error fi.w1.wpa_supplicant1.InvalidArgs: Did not receive correct message arguments. Signed-off-by: Paul Stewart <pstew@google.com> |
||
---|---|---|
.. | ||
.gitignore | ||
dbus-wpa_supplicant.conf | ||
dbus_common.c | ||
dbus_common.h | ||
dbus_common_i.h | ||
dbus_dict_helpers.c | ||
dbus_dict_helpers.h | ||
dbus_new.c | ||
dbus_new.h | ||
dbus_new_handlers.c | ||
dbus_new_handlers.h | ||
dbus_new_handlers_wps.c | ||
dbus_new_helpers.c | ||
dbus_new_helpers.h | ||
dbus_new_introspect.c | ||
dbus_old.c | ||
dbus_old.h | ||
dbus_old_handlers.c | ||
dbus_old_handlers.h | ||
dbus_old_handlers_wps.c | ||
fi.epitest.hostap.WPASupplicant.service | ||
fi.w1.wpa_supplicant1.service | ||
Makefile |