projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b164f34
)
[SPIN] Add NULL check to prevent crash.
78/73978/1
author
Niraj Kumar Goit
<niraj.g@samsung.com>
Fri, 10 Jun 2016 13:50:24 +0000
(19:20 +0530)
committer
Niraj Kumar Goit
<niraj.g@samsung.com>
Fri, 10 Jun 2016 13:50:24 +0000
(19:20 +0530)
Change-Id: I220440e73661004a61b8803d335c8c7a7ae11f6b
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
5dab82c
..
11a510d
100755
(executable)
--- a/
src/service.c
+++ b/
src/service.c
@@
-5144,6
+5144,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);