diff options
author | Werner Koch <[email protected]> | 2019-05-14 17:05:58 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-05-16 12:01:57 +0000 |
commit | 6f72aa821407e47ad3963e72e139f2ca2c69d9dd (patch) | |
tree | 2873773aa421000a511d0fe350620656df449424 /g10/plaintext.c | |
parent | gpgconf: Before --launch check that the config file is fine. (diff) | |
download | gnupg-6f72aa821407e47ad3963e72e139f2ca2c69d9dd.tar.gz gnupg-6f72aa821407e47ad3963e72e139f2ca2c69d9dd.zip |
kbx: Fix deadlock in gpgsm on Windows due to a sharing violation.
* kbx/keybox-init.c (keybox_lock) [W32]: Use _keybox_close_file
instead of fclose so that a close is done if the file is opened by
another handle.
* kbx/keybox-search.c (keybox_search): Remember the last offset and
use that in NEXT search mode if we had to re-open the file.
--
GnuPG-bug-id: 4505
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions