1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

agent: Initialize thread_startup.fd for pipe connection.

* agent/gpg-agent.c (main): Let it have defined value.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2024-06-28 13:48:04 +09:00
parent b3f1f2cd19
commit 14400b2fb3
No known key found for this signature in database
GPG Key ID: 640114AF89DE6054

View File

@ -1530,6 +1530,7 @@ main (int argc, char **argv)
strerror (errno) ); strerror (errno) );
agent_exit (1); agent_exit (1);
} }
ctrl->thread_startup.fd = GNUPG_INVALID_FD;
ctrl->session_env = session_env_new (); ctrl->session_env = session_env_new ();
if (!ctrl->session_env) if (!ctrl->session_env)
{ {