Home GnuPG
Diffusion GnuPG 663c5d129a8f

w32: Fix deadlock introduced by keybox_file_rename.
663c5d129a8fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Fix deadlock introduced by keybox_file_rename.

* g10/keyring.c (keyring_lock) [W32]: Flush the close cache before
locking.
* kbx/keybox-init.c (keybox_lock) [W32]: Close the file before
locking.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 14 2016, 8:45 PM
Parents
rG3b1248e007a6: gpg: Detect race between pubring.gpg and pubring.kbx use.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG663c5d129a8f: w32: Fix deadlock introduced by keybox_file_rename. (authored by Werner Koch <wk@gnupg.org>).Jan 14 2016, 8:45 PM