]> err.no Git - systemd/commitdiff
ask-password: properly NULL terminate table
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:04:47 +0000 (03:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Nov 2010 02:04:47 +0000 (03:04 +0100)
src/tty-ask-password-agent.c

index e99562284a8429a5640183f527c6f257cd5127de..8a6e3d331ede5025e01040917f3c3b8f14ddbf8c 100644 (file)
@@ -213,6 +213,7 @@ static int parse_password(const char *filename, char **wall) {
                 { "NotAfter", config_parse_uint64,   &not_after,   "Ask" },
                 { "Message",  config_parse_string,   &message,     "Ask" },
                 { "PID",      config_parse_unsigned, &pid,         "Ask" },
+                { NULL, NULL, NULL, NULL }
         };
 
         FILE *f;