From: Zbigniew Jędrzejewski-Szmek Date: Sun, 7 Apr 2019 19:37:18 +0000 (+0200) Subject: sysusers: add missing initalizer X-Git-Tag: v242-rc4~12^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71fb15888bcdc9f23639da4dbb90845eb8798af3;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index b9fa3348586..ee4973a0f43 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1381,7 +1381,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) { *id = NULL, *resolved_id = NULL, *description = NULL, *resolved_description = NULL, *home = NULL, *resolved_home = NULL, - *shell, *resolved_shell = NULL; + *shell = NULL, *resolved_shell = NULL; _cleanup_(item_freep) Item *i = NULL; Item *existing; OrderedHashmap *h;