aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt-data.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-06-11 06:21:19 +0000
committerNIIBE Yutaka <[email protected]>2024-06-11 06:21:19 +0000
commit563bfbb0be4ebbc85bc56426541f666839e6aa13 (patch)
treee7d1da14fabefd243e7eb6ceabc3d054bfc275c8 /g10/decrypt-data.c
parentagent: Silence debug output from the PIN caching. (diff)
downloadgnupg-563bfbb0be4ebbc85bc56426541f666839e6aa13.tar.gz
gnupg-563bfbb0be4ebbc85bc56426541f666839e6aa13.zip
agent: Fix a race condition which results accessing finished scd.
* agent/call-daemon.c (daemon_start): Decision of connection/reuse of CTX and assignment to ->ctx should be done with the lock. -- When scdaemon is exiting and agent tries to spawn/connect/reconnect, there is a race condition between detecting finish of scd and spawn/connect/reconnect. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
0 files changed, 0 insertions, 0 deletions