projects
/
platform
/
core
/
system
/
libdbuspolicy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56e0efc
)
dbuspolicy1_check_out: change sender to NULL
01/133401/1
submit/tizen/20170612.054403
author
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Mon, 12 Jun 2017 05:11:56 +0000
(14:11 +0900)
committer
sanghyeok.oh
<sanghyeok.oh@samsung.com>
Mon, 12 Jun 2017 05:11:59 +0000
(14:11 +0900)
if sender is unique id, can_recv will return wrong value
Change-Id: Idf8b3ce964cc4d5d064d8bf125071772b4987a2b
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
src/libdbuspolicy1.c
patch
|
blob
|
history
diff --git
a/src/libdbuspolicy1.c
b/src/libdbuspolicy1.c
index
d1477a5
..
61b2a37
100755
(executable)
--- a/
src/libdbuspolicy1.c
+++ b/
src/libdbuspolicy1.c
@@
-371,8
+371,10
@@
DBUSPOLICY1_EXPORT int dbuspolicy1_check_out(void* configuration,
if (r <= 0)
goto end;
- if (message_type != DBUSPOLICY_MESSAGE_TYPE_SIGNAL)
+ if (message_type != DBUSPOLICY_MESSAGE_TYPE_SIGNAL) {
+ sender = NULL;
r = __internal_can_recv(bus_type, uid_n, gid_n, label, sender, path, interface, member, message_type);
+ }
end:
if (free_offset)