summaryrefslogtreecommitdiff
path: root/src/sysusers
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-07 21:37:18 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-07 21:49:08 +0200
commit71fb15888bcdc9f23639da4dbb90845eb8798af3 (patch)
tree739027d948706dddb41906e7db214bb8f03d20f6 /src/sysusers
parent124d7cb2a09911f2787afa15ce4e4a207c3318da (diff)
downloadsystemd-71fb15888bcdc9f23639da4dbb90845eb8798af3.tar.gz
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.
Diffstat (limited to 'src/sysusers')
-rw-r--r--src/sysusers/sysusers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c
index b9fa334858..ee4973a0f4 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;