Home GnuPG
Diffusion GnuPG db246f8b18b7

g10: Fix another race condition for trustdb access.
db246f8b18b7Unpublished

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
rG536c721183e7: doc: Remove non-implemented option --skip-hidden-recipients.
Branches
Unknown
Tags
Unknown

Event Timeline

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