[Muscle] Discrepancy between doc of SCardTransmit() and IFDHTransmitToICC()

Ludovic Rousseau ludovic.rousseau at gmail.com
Tue Sep 9 07:06:35 PDT 2008


n Fri, Sep 5, 2008 at 10:43 PM, David L. Markowitz <dav at rttrek.com> wrote:
> This will not make it through pcscd, at least in any version from 1.3.2
> to 1.4.3.  Your code in winscard.c, SCardTransmit(), creates an automatic
> stack variable, "SCARD_IO_HEADER sRecvPci", and passes its address to
> IFDTransmit() without initialization.  Thus, random values (or zeroes
> depending on the compiler).  pioRecvPci is definitely *not* being honored
> as an IN and OUT.

Exact.

Corrected in revision 3120.
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2008-September/003300.html

Thanks

-- 
 Dr. Ludovic Rousseau


More information about the Muscle mailing list