]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: fix NULL arg to %s in error messages and hashmap lookup
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 7 Jun 2022 09:00:35 +0000 (11:00 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 7 Jun 2022 09:22:15 +0000 (11:22 +0200)
commit85b0ff8abf29cd90d02ef22bac036b370e4d5b59
tree7ae170cc1e3418d8c0cbd02dbf2480a109e9e5b3
parent9908091b960e1dbafa50ad88113bf24aa0b6ef4a
sd-journal: fix NULL arg to %s in error messages and hashmap lookup

The lookup "works", but is not useful. It was introduced in
9c66f528138f4fc856b3e9e137245b7048d5747d.

And printf will NULL args is invalid was introduced in
5d1ce25728856956c1fbfe05b491067f83bd2216 when support for fds was initally
added :(
src/libsystemd/sd-journal/sd-journal.c