[Pcsclite-cvs-commit] r6690 - trunk/pcsc-tools
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Mon Jul 29 14:17:37 UTC 2013
Author: rousseau
Date: 2013-07-29 14:17:37 +0000 (Mon, 29 Jul 2013)
New Revision: 6690
Modified:
trunk/pcsc-tools/pcsc_scan.c
Log:
Initialize the .cbAtr field
Thanks to Frank Morgner for the patch
Modified: trunk/pcsc-tools/pcsc_scan.c
===================================================================
--- trunk/pcsc-tools/pcsc_scan.c 2013-07-28 20:00:55 UTC (rev 6689)
+++ trunk/pcsc-tools/pcsc_scan.c 2013-07-29 14:17:37 UTC (rev 6690)
@@ -280,6 +280,7 @@
{
rgReaderStates_t[i].szReader = readers[i];
rgReaderStates_t[i].dwCurrentState = SCARD_STATE_UNAWARE;
+ rgReaderStates_t[i].cbAtr = sizeof rgReaderStates_t[i].rgbAtr;
}
rgReaderStates_t[nbReaders].szReader = "\\\\?PnP?\\Notification";
rgReaderStates_t[nbReaders].dwCurrentState = SCARD_STATE_UNAWARE;
More information about the Pcsclite-cvs-commit
mailing list