projects
/
platform
/
core
/
connectivity
/
ua-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989c618
)
Fixed crash if all devices are removed during reporting ABSENCE event.
40/211140/1
author
saerome.kim
<saerome.kim@samsung.com>
Tue, 30 Jul 2019 07:56:07 +0000
(16:56 +0900)
committer
saerome.kim
<saerome.kim@samsung.com>
Tue, 30 Jul 2019 08:47:17 +0000
(17:47 +0900)
Change-Id: Id7e0822b4c2f636881b08f41064d94212e5e57e0
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
ua-daemon/src/ua-manager-core.c
patch
|
blob
|
history
diff --git
a/ua-daemon/src/ua-manager-core.c
b/ua-daemon/src/ua-manager-core.c
index
131fbf5
..
702c586
100644
(file)
--- a/
ua-daemon/src/ua-manager-core.c
+++ b/
ua-daemon/src/ua-manager-core.c
@@
-2380,6
+2380,9
@@
static void __send_user_absence_event(uam_tech_type_e type, unsigned int sensor)
if (!tech || (tech->tech_type != type))
continue;
+ if (!tech->device || !tech->device->user)
+ continue;
+
l2 = g_slist_find_custom(present_users,
&(tech->device->user->user_id), __compare_user_id);
if (UAM_PRESENCE_STATE_PRESENT == tech->presence_state) {