From 5c3759bf8a3d418fa877e6a278f3150f404745b2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 14 Jan 2012 01:53:47 +0100 Subject: [PATCH] journal: fix bad memory access --- src/journal/journald.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5