chiark / gitweb /
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 e995622..8a6e3d3 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;