1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-21 18:03:41 +03:00

sysusers: add missing initalizer

I assume that this is the error causing the invalid free in
https://bugzilla.redhat.com/show_bug.cgi?id=1670679.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-04-07 21:37:18 +02:00
parent 124d7cb2a0
commit 71fb15888b

View File

@ -1381,7 +1381,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) {
*id = NULL, *resolved_id = NULL, *id = NULL, *resolved_id = NULL,
*description = NULL, *resolved_description = NULL, *description = NULL, *resolved_description = NULL,
*home = NULL, *resolved_home = NULL, *home = NULL, *resolved_home = NULL,
*shell, *resolved_shell = NULL; *shell = NULL, *resolved_shell = NULL;
_cleanup_(item_freep) Item *i = NULL; _cleanup_(item_freep) Item *i = NULL;
Item *existing; Item *existing;
OrderedHashmap *h; OrderedHashmap *h;