From: Lennart Poettering Date: Sat, 14 Jan 2012 00:53:47 +0000 (+0100) Subject: journal: fix bad memory access X-Git-Tag: v39~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c3759bf8a3d418fa877e6a278f3150f404745b2;p=systemd journal: fix bad memory access --- diff --git a/src/journal/journald.c b/src/journal/journald.c index 53dbf8e1..39263bfe 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s, exe = strappend("_EXE=", t); free(t); - if (comm) + if (exe) IOVEC_SET_STRING(iovec[n++], exe); }