aboutsummaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r--scd/ccid-driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index f14600cc2..8868a2cfc 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -880,6 +880,10 @@ ccid_transceive (ccid_driver_t handle,
if (rc)
return rc;
+ /* Fixme: The next line for the current Valgrid without support
+ for USB IOCTLs. */
+ memset (recv_buffer, 0, sizeof recv_buffer);
+
msg = recv_buffer;
rc = bulk_in (handle, msg, sizeof recv_buffer, &msglen,
RDR_to_PC_DataBlock, seqno);