Home GnuPG
Diffusion GnuPG 00d737e3fde8

g10: Fix another race condition for trustdb access.
00d737e3fde8Unpublished

Unpublished Commit · Learn More

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

Description

g10: Fix another race condition for trustdb access.

* g10/tdbio.c (create_version_record): Call create_hashtable to always
make hashtable, together with the version record.
(get_trusthashrec): Remove call to create_hashtable.

Thanks to Scott Moser to reproducible script and patience.

(backport from master
commit 35a3ce2acf78a95fecbccfd8db0560cca24232df)

  • GnuPG-bug-id: T1675
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 15 2016, 1:41 AM
Parents
rGd8775285e94b: doc: Remove description of --faked-system-time from gpg.texi
Branches
Unknown
Tags
Unknown

Event Timeline

Niibe Yutaka <gniibe@fsij.org> committed rG00d737e3fde8: g10: Fix another race condition for trustdb access. (authored by Niibe Yutaka <gniibe@fsij.org>).Jun 15 2016, 1:56 AM