D-Bus: Fix GroupAdd, Invite, RemovePersistentGroup path validation
authorJouni Malinen <j@w1.fi>
Thu, 1 Jan 2015 16:04:05 +0000 (18:04 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 20:50:26 +0000 (22:50 +0200)
commitbba40b65b048530d32fcad366e2c3685dfd9f4de
treefa06188865cf46f11073609e76a310453143472a
parentce82168b5597a27c372b836f1b003d3d4422b225
D-Bus: Fix GroupAdd, Invite, RemovePersistentGroup path validation

net_id_str can be NULL and that must be checked for to avoid NULL
pointer dereference if an invalid persistent_group_object path is used
with these methods.

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