Home GnuPG
Diffusion GnuPG 2ae017a25fe8

common: Fix a race condition in creating socketdir.

Description

common: Fix a race condition in creating socketdir.

* common/homedir.c (_gnupg_socketdir_internal): Check return code
of gnupg_mkdir and handle the case of GPG_ERR_EEXIST.

(cherry picked from commit 71840b57f48680b7555451a29026d9c6de4fe2bc)

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

Details

Provenance
gniibeAuthored on Oct 16 2024, 3:04 AM
wernerCommitted on Oct 29 2024, 12:27 PM
Parents
rG4728d7f0df33: po: Update German translation
Branches
Unknown
Tags
Unknown
Tasks
T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds