]> git.ipfire.org Git - thirdparty/hostap.git/commit
D-Bus: Fix byte array dict entry parser in out-of-memory case
authorJouni Malinen <j@w1.fi>
Tue, 6 Jan 2015 14:45:16 +0000 (16:45 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 7 Jan 2015 11:19:00 +0000 (13:19 +0200)
commitc61bc23aa28091e47166622ffd35b4178e99a823
tree81727436bfe8daea82b92bc1b0315c23837c806a
parentdacf6058129edab7f9c669bf4308342b3ed8905a
D-Bus: Fix byte array dict entry parser in out-of-memory case

entry->bytearray_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.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_dict_helpers.c