[Pcsclite-cvs-commit] r2087 - trunk/Drivers/ccid/src
Ludovic Rousseau
rousseau at costa.debian.org
Mon Jul 3 13:36:50 UTC 2006
Author: rousseau
Date: 2006-07-03 13:36:49 +0000 (Mon, 03 Jul 2006)
New Revision: 2087
Modified:
trunk/Drivers/ccid/src/commands.c
Log:
CCID_Transmit(): log if the transmit buffer is too big
Modified: trunk/Drivers/ccid/src/commands.c
===================================================================
--- trunk/Drivers/ccid/src/commands.c 2006-07-03 13:15:59 UTC (rev 2086)
+++ trunk/Drivers/ccid/src/commands.c 2006-07-03 13:36:49 UTC (rev 2087)
@@ -797,7 +797,10 @@
/* check that the command is not too large */
if (tx_length > CMD_BUF_SIZE)
+ {
+ DEBUG_CRITICAL2("TX Length too big: %d", tx_length);
return IFD_NOT_SUPPORTED;
+ }
memcpy(cmd+10, tx_buffer, tx_length);
More information about the Pcsclite-cvs-commit
mailing list