diff options
author | Werner Koch <wk@gnupg.org> | 2019-05-14 19:05:58 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-05-14 19:05:58 +0200 |
commit | 49b236af0ecbb6df67513feb4b63851f2e159ea2 (patch) | |
tree | 6235b36ce6d1955be5ebc3996b1633e0441f5227 /README.GIT | |
parent | sm: Change keydb code to use the keybox locking. (diff) | |
download | gnupg2-49b236af0ecbb6df67513feb4b63851f2e159ea2.tar.xz gnupg2-49b236af0ecbb6df67513feb4b63851f2e159ea2.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 <wk@gnupg.org>
Diffstat (limited to 'README.GIT')
0 files changed, 0 insertions, 0 deletions