summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2016-06-13 02:19:50 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-06-13 02:19:50 (GMT)
commit994f590a7fd8de241481c4335cf22675afefefc9 (patch)
tree3d8f5ad95fc628f4780c55b6fbb7bf02d128a60b
parentba4685e28396ee6713aee92bf1c58f2ab104f08a (diff)
parent0c5ab2959c0a22bbc2843d9c8c4a4c2e8040c3ad (diff)
downloadconnman-994f590a7fd8de241481c4335cf22675afefefc9.zip
connman-994f590a7fd8de241481c4335cf22675afefefc9.tar.gz
connman-994f590a7fd8de241481c4335cf22675afefefc9.tar.bz2
Merge "[SPIN] Add NULL check to prevent crash." into tizen
-rwxr-xr-xsrc/service.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index db8953c..ca29119 100755
--- a/src/service.c
+++ b/src/service.c
@@ -5150,6 +5150,10 @@ static void service_schedule_removed(struct connman_service *service)
static bool allow_property_changed(struct connman_service *service)
{
+#if defined TIZEN_EXT
+ if (service->path == NULL)
+ return FALSE;
+#endif
if (g_hash_table_lookup_extended(services_notify->add, service->path,
NULL, NULL)) {
DBG("no property updates for service %p", service);