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
(parent:
6460ab7
)
bus: initialize can_send_result
58/244358/1
submit/tizen/20200918.070747
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:08:22 +0000
(16:08 +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
288832b
..
96b51de
100644
(file)
--- a/
bus/bus.c
+++ b/
bus/bus.c
@@
-1563,7
+1563,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);