diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-02 19:37:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-02 19:45:12 +0200 |
commit | f5f6e41a9ee008e1632f79ab3fa20beef7c2b613 (patch) | |
tree | eb152b61dc3e18a78e253413e2a7ce1f88ecdacb /src | |
parent | 8c92d4bbc7a538ada11d7e85016cce141beb0e6c (diff) |
bus: fix potentially uninitialized memory access
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/bus-internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/bus-internal.c b/src/libsystemd-bus/bus-internal.c index 0e66f3d355..cac948e875 100644 --- a/src/libsystemd-bus/bus-internal.c +++ b/src/libsystemd-bus/bus-internal.c @@ -63,7 +63,7 @@ bool object_path_is_valid(const char *p) { bool interface_name_is_valid(const char *p) { const char *q; - bool dot, found_dot; + bool dot, found_dot = false; if (isempty(p)) return false; @@ -103,7 +103,7 @@ bool interface_name_is_valid(const char *p) { bool service_name_is_valid(const char *p) { const char *q; - bool dot, found_dot, unique; + bool dot, found_dot = false, unique; if (isempty(p)) return false; |