hostap/wpa_supplicant/dbus
Paul Stewart 8e5f078fb9 dbus_new_handlers: Omit errant dbus_message_unref
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>
2010-12-04 11:58:44 -08:00
..
.gitignore dbus: Clean dbus build files on wpa_supplicant 'make clean' 2009-12-20 20:29:09 +02:00
dbus-wpa_supplicant.conf Move D-Bus related files into their own subdirectory 2009-12-20 20:11:14 +02:00
dbus_common.c dbus: Fix init-failure-detection 2010-01-01 21:30:58 +02:00
dbus_common.h dbus: Share common initialization code for both old and new interface 2009-12-31 00:15:56 +02:00
dbus_common_i.h dbus: Do not deinitialize new D-Bus API if it is not initialized 2009-12-31 21:50:12 +02:00
dbus_dict_helpers.c dbus: Simplify _wpa_dbus_dict_fill_value_from_variant() a bit 2010-01-02 10:59:51 +02:00
dbus_dict_helpers.h dbus: Share the same function for type to type-as-string conversion 2010-01-02 10:45:03 +02:00
dbus_new.c Skip D-Bus signals if the dbus_path is not yet set 2010-05-23 20:23:11 +03:00
dbus_new.h dbus: Change WPA/RSNIE byte array props to dicts 2010-01-16 16:37:37 +02:00
dbus_new_handlers.c dbus_new_handlers: Omit errant dbus_message_unref 2010-12-04 11:58:44 -08:00
dbus_new_handlers.h dbus: Change WPA/RSNIE byte array props to dicts 2010-01-16 16:37:37 +02:00
dbus_new_handlers_wps.c dbus: Fix new dbus API for WPS 2010-11-26 19:47:24 +02:00
dbus_new_helpers.c dbus: Fix crash on property change if D-Bus API is disabled 2010-01-06 12:14:35 +02:00
dbus_new_helpers.h dbus: Aggregate PropertiesChanged signals 2010-01-04 17:15:57 +02:00
dbus_new_introspect.c dbus: Remove duplication of object methods/signals/properties 2010-01-03 00:52:30 +02:00
dbus_old.c Skip D-Bus signals if the dbus_path is not yet set 2010-05-23 20:23:11 +03:00
dbus_old.h dbus: Clean up dbus_path/dbus_new_path use 2010-01-01 19:12:31 +02:00
dbus_old_handlers.c dbus: Deauthenticate instead of disassociate on disconnect command 2010-08-18 21:27:30 +03:00
dbus_old_handlers.h dbus: Use BSS table instead of raw scan results in older API 2010-01-02 15:13:25 +02:00
dbus_old_handlers_wps.c P2P: Set Device Password ID in WPS M1/M2 per new rules 2010-09-09 07:17:19 -07:00
fi.epitest.hostap.WPASupplicant.service dbus: Rename .service file to use the service name as the file name 2009-12-20 20:15:40 +02:00
fi.w1.wpa_supplicant1.service dbus: Add missing .service file for the new D-Bus API 2009-12-20 20:14:10 +02:00
Makefile dbus: Move introspection support into a separate file 2010-01-01 14:03:00 +02:00