From: Lennart Poettering Date: Fri, 12 Nov 2010 02:04:47 +0000 (+0100) Subject: ask-password: properly NULL terminate table X-Git-Tag: v12~51 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d3afa8ca2811093c482b0e14addd1aaa92fb67;p=systemd ask-password: properly NULL terminate table --- diff --git a/src/tty-ask-password-agent.c b/src/tty-ask-password-agent.c index e9956228..8a6e3d33 100644 --- a/src/tty-ask-password-agent.c +++ b/src/tty-ask-password-agent.c @@ -213,6 +213,7 @@ static int parse_password(const char *filename, char **wall) { { "NotAfter", config_parse_uint64, ¬_after, "Ask" }, { "Message", config_parse_string, &message, "Ask" }, { "PID", config_parse_unsigned, &pid, "Ask" }, + { NULL, NULL, NULL, NULL } }; FILE *f;