Home GnuPG
Diffusion GnuPG a698adbb533f

kbx: Fix a race condition on DATABASE_HD.

Description

kbx: Fix a race condition on DATABASE_HD.

* kbx/backend-sqlite.c (create_or_open_database): Protect
the access to DATABASE_HD.
  • GnuPG-bug-id: T7294
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 19 2024, 6:44 AM
wernerCommitted on Sep 19 2024, 1:24 PM
Parents
rG32476f870d62: scd: Fix DEVINFO to allow multiple clients.
Branches
Unknown
Tags
Unknown
Tasks
T7294: keyboxd: Possible race conditions (and clean up)