projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c207338
)
bus: fix bad memory access in driverd when we get an empty triggers list
author
Lennart Poettering
<lennart@poettering.net>
Sat, 21 Dec 2013 22:26:51 +0000
(23:26 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 21 Dec 2013 22:26:51 +0000
(23:26 +0100)
src/bus-driverd/bus-driverd.c
patch
|
blob
|
history
diff --git
a/src/bus-driverd/bus-driverd.c
b/src/bus-driverd/bus-driverd.c
index
8dd3418
..
a420e7f
100644
(file)
--- a/
src/bus-driverd/bus-driverd.c
+++ b/
src/bus-driverd/bus-driverd.c
@@
-694,7
+694,7
@@
static int driver_start_service_by_name(sd_bus *bus, sd_bus_message *m, void *us
if (r < 0)
return r;
- if (!t[0] || t[1])
+ if (!t
|| !t
[0] || t[1])
return -EIO;
r = sd_bus_call_method(