mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
dbus: Fix crash on property change if D-Bus API is disabled
This commit is contained in:
parent
6c195cd507
commit
c3299a8b74
@ -810,6 +810,9 @@ void wpa_dbus_mark_property_changed(struct wpas_dbus_priv *iface,
|
||||
const struct wpa_dbus_property_desc *dsc;
|
||||
int i = 0;
|
||||
|
||||
if (iface == NULL)
|
||||
return;
|
||||
|
||||
dbus_connection_get_object_path_data(iface->con, path,
|
||||
(void **) &obj_desc);
|
||||
if (!obj_desc) {
|
||||
|
Loading…
Reference in New Issue
Block a user