Blame SOURCES/0006-bus-fix-potentially-uninitialized-memory-access.patch
|
|
9fc0f6 |
From 4b3825ff691103634adc77a4d3ffc7128923fae7 Mon Sep 17 00:00:00 2001
|
|
|
9fc0f6 |
From: Lennart Poettering <lennart@poettering.net>
|
|
|
9fc0f6 |
Date: Wed, 2 Oct 2013 19:37:11 +0200
|
|
|
9fc0f6 |
Subject: [PATCH] bus: fix potentially uninitialized memory access
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
---
|
|
|
9fc0f6 |
src/libsystemd-bus/bus-internal.c | 4 ++--
|
|
|
9fc0f6 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
diff --git a/src/libsystemd-bus/bus-internal.c b/src/libsystemd-bus/bus-internal.c
|
|
|
9fc0f6 |
index 0e66f3d..cac948e 100644
|
|
|
9fc0f6 |
--- a/src/libsystemd-bus/bus-internal.c
|
|
|
9fc0f6 |
+++ b/src/libsystemd-bus/bus-internal.c
|
|
|
9fc0f6 |
@@ -63,7 +63,7 @@ bool object_path_is_valid(const char *p) {
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
bool interface_name_is_valid(const char *p) {
|
|
|
9fc0f6 |
const char *q;
|
|
|
9fc0f6 |
- bool dot, found_dot;
|
|
|
9fc0f6 |
+ bool dot, found_dot = false;
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
if (isempty(p))
|
|
|
9fc0f6 |
return false;
|
|
|
9fc0f6 |
@@ -103,7 +103,7 @@ bool interface_name_is_valid(const char *p) {
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
bool service_name_is_valid(const char *p) {
|
|
|
9fc0f6 |
const char *q;
|
|
|
9fc0f6 |
- bool dot, found_dot, unique;
|
|
|
9fc0f6 |
+ bool dot, found_dot = false, unique;
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
if (isempty(p))
|
|
|
9fc0f6 |
return false;
|