1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-29 19:48:43 +01:00

common: Fix gnupg_exec_tool_stream for INEXTRA==NULL.

* common/exectool.c (gnupg_exec_tool_stream): Initialize extrapipe.

--

Fixes-commit: af6c47b291
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2024-09-25 11:17:51 +09:00
parent 79298e87d8
commit a269a27c4c
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -331,7 +331,7 @@ gnupg_exec_tool_stream (const char *pgmname, const char *argv[],
#else
int exceptclose[2];
#endif
gnupg_fd_t extrapipe;
gnupg_fd_t extrapipe = GNUPG_INVALID_FD;
char extrafdbuf[20];
const char *argsave = NULL;
int argsaveidx;