b2ad4e6b24
When the P2P management interface is deleted, P2P is then disabled and global->p2p_init_wpa_s is set to NULL. After that, other interfaces can still trigger P2P functions (like wpas_p2p_find()) using D-Bus. This makes wpa_supplicant terminate with SIGSEGV, because it dereferences a NULL pointer. Fix this by adding proper checks, like it's done with wpa_cli. CC: Beniamino Galvani <bgalvani@redhat.com> CC: Benjamin Berg <benjamin@sipsolutions.net> Reported-by: Vladimir Benes <vbenes@redhat.com> Signed-off-by: Davide Caratti <davide.caratti@gmail.com> |
||
---|---|---|
.. | ||
.gitignore | ||
dbus-wpa_supplicant.conf | ||
dbus_common.c | ||
dbus_common.h | ||
dbus_common_i.h | ||
dbus_dict_helpers.c | ||
dbus_dict_helpers.h | ||
dbus_new.c | ||
dbus_new.h | ||
dbus_new_handlers.c | ||
dbus_new_handlers.h | ||
dbus_new_handlers_p2p.c | ||
dbus_new_handlers_p2p.h | ||
dbus_new_handlers_wps.c | ||
dbus_new_helpers.c | ||
dbus_new_helpers.h | ||
dbus_new_introspect.c | ||
fi.w1.wpa_supplicant1.service.in | ||
Makefile |