Home GnuPG
Diffusion GnuPG b804378f183f

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
Parents
rGfc30f7059650: scd: Fix DEVINFO to allow multiple clients.
Branches
Unknown
Tags
Unknown
Tasks
T7294: keyboxd: Possible race conditions (and clean up)