projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c195cd
)
dbus: Fix crash on property change if D-Bus API is disabled
author
Jouni Malinen
<j@w1.fi>
Wed, 6 Jan 2010 10:14:35 +0000
(12:14 +0200)
committer
Jouni Malinen
<j@w1.fi>
Wed, 6 Jan 2010 10:14:35 +0000
(12:14 +0200)
wpa_supplicant/dbus/dbus_new_helpers.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/dbus/dbus_new_helpers.c
b/wpa_supplicant/dbus/dbus_new_helpers.c
index
65de8ab
..
06749db
100644
(file)
--- a/
wpa_supplicant/dbus/dbus_new_helpers.c
+++ b/
wpa_supplicant/dbus/dbus_new_helpers.c
@@
-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) {