hostap/wpa_supplicant/dbus
Paul Stewart 8ee69e0633 dbus_new_handlers: Don't send NULL to dbus_message_new_error
The new DBus API helper function wpas_dbus_error_unknown_error
function can be called as a result of a failure within internal
getter calls, which will call this function with a NULL message
parameter.  However, dbus_message_new_error looks very unkindly
(i.e, abort()) on a NULL message, so in this case, we should not
call it.

I've observed this course of events during a call to
wpas_dbus_getter_bss_wpa with a faileld parse of the IE parameter.
We got here through a call to fill_dict_with_properties which
explicitly calls getters with a NULL message parameter.  Judging
from the way it is called, this could easily occur if an AP sends
out a malformed (or mis-received) probe response.  I usually run
into this problem while driving through San Francisco, so I'm
exposed to any number of base stations along this path.
2010-10-09 17:29:51 +03: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: Don't send NULL to dbus_message_new_error 2010-10-09 17:29:51 +03: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 P2P: Set Device Password ID in WPS M1/M2 per new rules 2010-09-09 07:17:19 -07: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