dbus: Fix Scan invalid args reporting (uninitialize variable)
authorJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:37:04 +0000 (14:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:37:04 +0000 (14:37 +0200)
commitac68f031a78fbe6c0145fcd7a20f74ff493184f2
treed2bed7d89baede60bdca66484c9e96b437936992
parent459489c99d25c4ceca2b89ed32fceabeb020bb55
dbus: Fix Scan invalid args reporting (uninitialize variable)

Must initialize key to be NULL since it can be used in an error
message. If the Scan method did not actually include any dict entries,
the uninitialized pointer was used and this could result in
wpa_supplicant crashing.
wpa_supplicant/dbus/dbus_new_handlers.c