[Pcsclite-cvs-commit] r3467 - /trunk/PCSC/src/winscard.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Apr 27 15:10:48 UTC 2009
Author: rousseau
Date: Mon Apr 27 15:10:48 2009
New Revision: 3467
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3467
Log:
CardDisconnect(): call RFUnlockAllSharing() instead of RFUnlockSharing()
to release all nested locks. The problem occurs if
SCardBeginTransaction() are made without corresponding
SCardEndTransaction(). OpenSC "pkcs11-tool -I" exhibits such a behavior.
Thanks to Marc Rios Valles for the bug report
Modified:
trunk/PCSC/src/winscard.c
Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=3467&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Mon Apr 27 15:10:48 2009
@@ -873,7 +873,7 @@
/*
* Unlock any blocks on this context
*/
- rv = RFUnlockSharing(hCard);
+ rv = RFUnlockAllSharing(hCard);
if (rv != SCARD_S_SUCCESS)
return rv;
More information about the Pcsclite-cvs-commit
mailing list