D-Bus: Fix P2P peer joined/disconnected handlers
authorJouni Malinen <j@w1.fi>
Fri, 26 Dec 2014 16:19:36 +0000 (18:19 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 13:49:05 +0000 (15:49 +0200)
commit11973b268229a754cd930b0a3a7cf5e89202c2aa
treeeed0a1a93301bf71f76a67d10cf298ac13e9c760
parentb8db1dfc5ca85b3443dab7757853b68687921d8e
D-Bus: Fix P2P peer joined/disconnected handlers

It is possible for the peer to be a non-P2P device and as such, for
p2p_dev_addr to be NULL. This resulted in NULL pointer dereference if
D-Bus interface was enabled for the interface when a legacy STA joined a
group.

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