1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +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>
(cherry picked from commit 14400b2fb3)
This commit is contained in:
NIIBE Yutaka 2024-06-28 13:48:04 +09:00 committed by Werner Koch
parent 0ed8e9ae3e
commit 81fc7b291e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1518,6 +1518,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)
{