The peer_addr is missing when a legacy client joins a P2P group. Ignoring the condition, fixes crash in supplicant. Signed-off-by: Shyamakshi Ghosh <g.shyamakshi@xxxxxxxxxxx> --- wpa_supplicant/dbus/dbus_new.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c index e0f16bb..3d8da70 100644 --- a/wpa_supplicant/dbus/dbus_new.c +++ b/wpa_supplicant/dbus/dbus_new.c @@ -1644,6 +1644,10 @@ void wpas_dbus_signal_p2p_peer_joined(struct wpa_supplicant *wpa_s, if (iface == NULL) return; + /* Do nothing if peer_addr is missing */ + if (peer_addr == NULL) + return; + if (!wpa_s->dbus_groupobj_path) return; -- 2.7.4 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap