[Pcsclite-cvs-commit] PCSC/src musclecard.c,1.35,1.36
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv10345
Modified Files:
musclecard.c
Log Message:
Initialize currentToken->tokenType in MSCListTokens(). Closes "[ #300607 ]
MSCListTokens should set tokenType to know state before OR operation"
Index: musclecard.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/musclecard.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- musclecard.c 31 Mar 2004 13:33:25 -0000 1.35
+++ musclecard.c 31 Mar 2004 13:48:31 -0000 1.36
@@ -170,6 +170,7 @@
currentToken = &tokenArray[tokensFound - 1];
currentToken->addParams = 0;
currentToken->addParamsSize = 0;
+ currentToken->tokenType = 0;
if (rgReaderStates.dwEventState & SCARD_STATE_EMPTY)
{