core: Need to increase an array in the gpg engine.
* src/engine-gpg.c (build_argv): Allcate one slot more for ARGV.
--
Fixes-commit: b9000bc293
This commit is contained in:
parent
e5abf4827a
commit
4763974ef6
@ -875,7 +875,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname)
|
|||||||
argc++;
|
argc++;
|
||||||
if (!gpg->cmd.used)
|
if (!gpg->cmd.used)
|
||||||
argc++; /* --batch */
|
argc++; /* --batch */
|
||||||
argc += 1; /* --no-sk-comments */
|
argc += 2; /* --no-sk-comments, --request-origin */
|
||||||
|
|
||||||
argv = calloc (argc + 1, sizeof *argv);
|
argv = calloc (argc + 1, sizeof *argv);
|
||||||
if (!argv)
|
if (!argv)
|
||||||
|
Loading…
Reference in New Issue
Block a user