summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Szyndela <adrian.s@samsung.com>2020-09-17 16:08:22 +0200
committerAdrian Szyndela <adrian.s@samsung.com>2020-09-17 16:08:22 +0200
commit58b46293becfc2fe6f70efd5db99fb543b07cdeb (patch)
treeb62c4d049750de6514bc6a0a7c2291751710b2a2
parent6460ab7d5027524f1e7a97c3b3ee81e353a07a95 (diff)
downloaddbus-58b46293becfc2fe6f70efd5db99fb543b07cdeb.tar.gz
dbus-58b46293becfc2fe6f70efd5db99fb543b07cdeb.tar.bz2
dbus-58b46293becfc2fe6f70efd5db99fb543b07cdeb.zip
bus: initialize can_send_resultsubmit/tizen/20200918.070747
can_send_result may be uninitialized for cases with no send_policy. Change-Id: I0f490c3c6920df525f5583b421162f7f33b8cb68
-rw-r--r--bus/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 288832b1..96b51dec 100644
--- 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);