mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
journal: fix bad memory access
This commit is contained in:
parent
0dad12c190
commit
5c3759bf8a
@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s,
|
|||||||
exe = strappend("_EXE=", t);
|
exe = strappend("_EXE=", t);
|
||||||
free(t);
|
free(t);
|
||||||
|
|
||||||
if (comm)
|
if (exe)
|
||||||
IOVEC_SET_STRING(iovec[n++], exe);
|
IOVEC_SET_STRING(iovec[n++], exe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user