[Pcsclite-cvs-commit] r4508 - /trunk/Drivers/ccid/src/ifdhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Oct 25 17:43:52 UTC 2009


Author: rousseau
Date: Sun Oct 25 17:43:52 2009
New Revision: 4508

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4508
Log:
FDHPowerICC(): use the exact length for the PowerOn output buffer

Modified:
    trunk/Drivers/ccid/src/ifdhandler.c

Modified: trunk/Drivers/ccid/src/ifdhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ifdhandler.c?rev=4508&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Sun Oct 25 17:43:52 2009
@@ -1071,7 +1071,7 @@
 
 	unsigned int nlength;
 	RESPONSECODE return_value = IFD_SUCCESS;
-	unsigned char pcbuffer[RESP_BUF_SIZE];
+	unsigned char pcbuffer[10+MAX_ATR_SIZE];
 	int reader_index;
 	const char *actions[] = { "PowerUp", "PowerDown", "Reset" };
 	unsigned int oldReadTimeout;




More information about the Pcsclite-cvs-commit mailing list