hostap/wpa_supplicant/dbus
Davide Caratti b2ad4e6b24 D-Bus: Fix P2P NULL dereference after interface removal
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>
2019-10-27 15:40:15 +02:00
..
.gitignore
dbus-wpa_supplicant.conf wpa_supplicant: Drop the old D-Bus interface support 2019-03-09 18:33:26 +02:00
dbus_common.c wpa_supplicant: Drop the old D-Bus interface support 2019-03-09 18:33:26 +02:00
dbus_common.h
dbus_common_i.h
dbus_dict_helpers.c
dbus_dict_helpers.h
dbus_new.c dbus: Suppress to show NULL string 2019-10-25 16:03:37 +03:00
dbus_new.h dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new_handlers.c Remove CONFIG_IEEE80211W build parameter 2019-09-08 17:33:40 +03:00
dbus_new_handlers.h dbus: Expose authentication status to D-Bus 2019-01-03 00:39:12 +02:00
dbus_new_handlers_p2p.c D-Bus: Fix P2P NULL dereference after interface removal 2019-10-27 15:40:15 +02:00
dbus_new_handlers_p2p.h dbus: Add vendor specific information element in peer properties 2019-01-02 13:00:57 +02:00
dbus_new_handlers_wps.c wpa_supplicant: Support Multi-AP backhaul STA onboarding with WPS 2019-02-18 22:35:41 +02:00
dbus_new_helpers.c D-Bus: Demote timeout/flush messages to MSG_MSGDUMP 2019-07-31 22:06:33 +03:00
dbus_new_helpers.h
dbus_new_introspect.c
fi.w1.wpa_supplicant1.service.in
Makefile wpa_supplicant: Drop the old D-Bus interface support 2019-03-09 18:33:26 +02:00