chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b56c267
)
bus: fix missing variable initialization
author
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Mar 2013 02:42:03 +0000
(
03:42
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 26 Mar 2013 02:42:03 +0000
(
03:42
+0100)
src/libsystemd-bus/sd-bus.c
patch
|
blob
|
history
diff --git
a/src/libsystemd-bus/sd-bus.c
b/src/libsystemd-bus/sd-bus.c
index c82b738e028be9aa3d44a1c0ca0e1a553fff2f8f..5f2ede088a32bcb471edc232af62a2561d7804be 100644
(file)
--- a/
src/libsystemd-bus/sd-bus.c
+++ b/
src/libsystemd-bus/sd-bus.c
@@
-539,8
+539,10
@@
static int parse_exec_address(sd_bus *b, const char **p, char **guid) {
skip_address_key(p);
}
- if (!path)
+ if (!path) {
+ r = -EINVAL;
goto fail;
+ }
/* Make sure there are no holes in the array, with the
* exception of argv[0] */