projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
28814f8
)
bus: initialize can_send_result
60/244360/1
accepted/tizen_5.5_unified
tizen_5.5
accepted/tizen/5.5/unified/20200918.092421
submit/tizen_5.5/20200918.010514
author
Adrian Szyndela
<adrian.s@samsung.com>
Thu, 17 Sep 2020 14:08:22 +0000
(16:08 +0200)
committer
Adrian Szyndela
<adrian.s@samsung.com>
Thu, 17 Sep 2020 14:19:37 +0000
(16:19 +0200)
can_send_result may be uninitialized for cases with no send_policy.
Change-Id: I0f490c3c6920df525f5583b421162f7f33b8cb68
bus/bus.c
patch
|
blob
|
history
diff --git
a/bus/bus.c
b/bus/bus.c
index
c32895c
..
0996b83
100644
(file)
--- a/
bus/bus.c
+++ b/
bus/bus.c
@@
-1556,7
+1556,7
@@
bus_context_check_security_policy (BusContext *context,
dbus_bool_t requested_reply;
const char *privilege;
char *out_rule = NULL;
- BusResult can_send_result;
+ BusResult can_send_result
= BUS_RESULT_TRUE
;
type = dbus_message_get_type (message);
src = dbus_message_get_sender (message);