1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-09-19 14:41:41 +02: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) );
agent_exit (1);
}
ctrl->thread_startup.fd = GNUPG_INVALID_FD;
ctrl->session_env = session_env_new ();
if (!ctrl->session_env)
{