hostap/wpa_supplicant/dbus
Jouni Malinen f2d57282ad D-Bus: Fix string array dict entry parser in out-of-memory case
entry->strarray_value was left to point to freed memory in case
os_realloc_array() failed. This resulted in the following
wpa_dbus_dict_entry_clear() trying to free an already freed memory area.
In addition, the separately allocated strings in the array would have
been leaked in such a case. Furthermore, wpa_dbus_dict_entry_clear() was
not prepared for the possibility of the initial os_calloc() call failing
and entry->strarray_value being NULL without array_len being cleared to
zero. That would have resulted in reading uninitialized memory and NULL
pointer dereference.

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-01-07 13:19:00 +02: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 D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_common.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_common_i.h Update license notification in D-Bus interface files 2012-07-02 12:04:38 +03:00
dbus_dict_helpers.c D-Bus: Fix string array dict entry parser in out-of-memory case 2015-01-07 13:19:00 +02:00
dbus_dict_helpers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_new.c D-Bus: Move NetworkRequest signal to correct registration array 2015-01-02 22:50:27 +02:00
dbus_new.h dbus: add BSS Age property to indicate last-seen time 2014-09-07 19:18:45 +03:00
dbus_new_handlers.c D-Bus: Simplify out-of-memory reporting 2015-01-02 22:50:27 +02:00
dbus_new_handlers.h D-Bus: Simplify out-of-memory reporting 2015-01-02 22:50:27 +02:00
dbus_new_handlers_p2p.c D-Bus: Make P2P Group Passphrase property getter available for P2P Client 2015-01-02 22:50:27 +02:00
dbus_new_handlers_p2p.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_new_handlers_wps.c D-Bus: Fix WPS.Start method in AP/P2P GO mode 2015-01-02 22:50:27 +02:00
dbus_new_helpers.c D-Bus: Simplify out-of-memory reporting 2015-01-02 22:50:27 +02:00
dbus_new_helpers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_new_introspect.c D-Bus: Fix Introspect() in case of os_strdup() failure 2015-01-07 13:19:00 +02:00
dbus_old.c D-Bus (old): Fix message handler error paths 2015-01-07 13:19:00 +02:00
dbus_old.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers.c D-Bus (old): Fix memory leak on error path 2015-01-07 13:19:00 +02:00
dbus_old_handlers.h D-Bus: Coding style cleanup 2015-01-02 22:50:26 +02:00
dbus_old_handlers_wps.c D-Bus (old): Fix wpsReg error message 2015-01-07 13:19:00 +02:00
fi.epitest.hostap.WPASupplicant.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
fi.w1.wpa_supplicant1.service.in wpa_supplicant: Edit BINDIR in dbus and systemd service files 2011-07-15 12:25:02 +03:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00