From 53d3afa8ca2811093c482b0e14addd1aaa92fb67 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Nov 2010 03:04:47 +0100 Subject: [PATCH] ask-password: properly NULL terminate table --- src/tty-ask-password-agent.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5