Hi Marcel:
I found that connman-0.13 will crash on starting. After do some investigations, 
I found that it is the segment fault issue when call 
set_static_array_prpperty(). I work out a patch to fix it. Please review it.
The patch is currently maintained in Moblin ConnMan RPM package. Once the issue 
is fixed at upstream, I will remove it from RPM package.
I have filed a bug at bugzilla to track it. (bug 1325)

diff --git a/src/element.c b/src/element.c
index 614c875..73a3c8f 100644
--- a/src/element.c
+++ b/src/element.c
@@ -849,7 +849,7 @@ int connman_element_set_blob(struct connman_element 
*element,
           const char *key, const void *data, unsigned int size)
 {
    return set_static_array_property(element, key,
-                    DBUS_TYPE_BYTE, data, size);
+                    DBUS_TYPE_BYTE, &data, size);
 }

 /**

_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to