Branch: refs/heads/1.22_release Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 11:24:58 Commit: 5542e515f36a31e0bf2ab90e0d2623806e48206c https://github.com/geany/geany-plugins/commit/5542e515f36a31e0bf2ab90e0d2623...
Log Message: ----------- GeanyPG: Initialize arrays only with values computable at load time
Modified Paths: -------------- geanypg/src/pinentry.c
Modified: geanypg/src/pinentry.c 4 files changed, 3 insertions(+), 1 deletions(-) =================================================================== @@ -91,7 +91,9 @@ gpgme_error_t geanypg_passphrase_cb(void * hook, if (!childpid) { /* pinentry */ char arg1[] = "pinentry"; - char * argv[] = {arg1, NULL}; + char * argv[] = {NULL, NULL}; + + argv[0] = arg1;
close(outpipe[READ]); dup2(outpipe[WRITE], STDOUT_FILENO);
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org