Home GnuPG
Diffusion GnuPG 7b57539cf2c4

scd: No hard lock-up when apdu_connect never returns.

Description

scd: No hard lock-up when apdu_connect never returns.

* scd/app.c (new_card_lock): New.
(select_application): Scanning is serialized by NEW_CARD_LOCK.
For app_new_register, we hold the W-lock.
(initialize_module): Initialize NEW_CARD_LOCK.
  • GnuPG-bug-id: T7402
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Nov 18 2024, 6:25 AM
wernerCommitted on Nov 18 2024, 8:58 AM
Parents
rG269d1ea10c38: gpgconf: Include a minimal secure version in the --query-swdb output.
Branches
Unknown
Tags
Unknown
Tasks
T7402: No hard lockup when SCardConnect never returns