From b79d7e8752a871f03b1ebeca7298083ed47fd4fa Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 23 Jun 2020 14:42:09 +0200 Subject: [PATCH] Fix NULL terminated list Regards https://github.com/profanity-im/profanity/issues/1367 --- src/config/account.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/account.c b/src/config/account.c index 6fc80eb7..127831a8 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -202,7 +202,7 @@ account_eval_password(ProfAccount *account) gchar **output = NULL; - gchar *argv[] = {"sh", "-c", account->eval_password}; + gchar *argv[] = {"sh", "-c", account->eval_password, NULL}; if (!call_external(argv, &output, NULL)) { return FALSE; }