From a269a27c4ce5d4be8129c9d2c6252d3158e3683d Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 25 Sep 2024 11:17:51 +0900 Subject: [PATCH] common: Fix gnupg_exec_tool_stream for INEXTRA==NULL. * common/exectool.c (gnupg_exec_tool_stream): Initialize extrapipe. -- Fixes-commit: af6c47b2910f394faf582800d60d88e9b4dcf834 Signed-off-by: NIIBE Yutaka --- common/exectool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/exectool.c b/common/exectool.c index 900020ecc..6d22e29f8 100644 --- a/common/exectool.c +++ b/common/exectool.c @@ -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;