diff options
author | NIIBE Yutaka <[email protected]> | 2015-05-28 08:08:37 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-05-28 08:18:35 +0000 |
commit | fe5c6edaed78839303d67e01e141cfc6b5de9aec (patch) | |
tree | ef3002eb63512f20f70bfc525f27d10873f9cc19 /scd/app-openpgp.c | |
parent | g10: Remove g10/signal.c. (diff) | |
download | gnupg-fe5c6edaed78839303d67e01e141cfc6b5de9aec.tar.gz gnupg-fe5c6edaed78839303d67e01e141cfc6b5de9aec.zip |
g10: Fix a race condition initially creating trustdb.
* g10/tdbio.c (take_write_lock, release_write_lock): New.
(put_record_into_cache, tdbio_sync, tdbio_end_transaction): Use
new lock functions.
(tdbio_set_dbname): Fix the race.
(open_db): Don't call dotlock_create.
--
GnuPG-bug-id: 1675
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions