mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:46:22 +00:00
Fix NULL terminated list
Regards https://github.com/profanity-im/profanity/issues/1367
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user