Diffusion GnuPG b304c006a3c9

scd: Take the card look while running app->with_keygrip.

Authored by werner on Fri, Jun 21, 2:51 PM.

Description

scd: Take the card look while running app->with_keygrip.

* scd/app.c (app_do_with_keygrip): Lock the card.

Better safe than sorry.

We should also review the card reference counting to see whether we
better ref the returned card object already here.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerFri, Jun 21, 2:51 PM
Parents
rG0400a4eb1782: scd: Take the lock earlier in the function dispatchers.
Branches
Unknown
Tags
Unknown