[Pcsclite-cvs-commit] r4743 - /trunk/PCSC/src/readerfactory.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Feb 9 14:55:32 UTC 2010
Author: rousseau
Date: Tue Feb 9 14:55:32 2010
New Revision: 4743
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4743
Log:
RFAddReader(): allocate an int instead of a DWORD for pFeeds
The patch in revision 4741 was not complete
Modified:
trunk/PCSC/src/readerfactory.c
Modified: trunk/PCSC/src/readerfactory.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/readerfactory.c?rev=4743&op=diff
==============================================================================
--- trunk/PCSC/src/readerfactory.c (original)
+++ trunk/PCSC/src/readerfactory.c Tue Feb 9 14:55:32 2010
@@ -230,7 +230,7 @@
if ((sReadersContexts[dwContext])->pFeeds == NULL)
{
- (sReadersContexts[dwContext])->pFeeds = malloc(sizeof(DWORD));
+ (sReadersContexts[dwContext])->pFeeds = malloc(sizeof(int));
/* Initialize pFeeds to 1, otherwise multiple
cloned readers will cause pcscd to crash when
More information about the Pcsclite-cvs-commit
mailing list