Re: [PATCH] ContextThread: SCARD_TRANSMIT: work around CT API recv buffer size of 64k
Marc Kleine-Budde <[email protected]>
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <[email protected]> |
On 12/08/2015 09:04 PM, Ludovic Rousseau wrote: > Why can't you fix the problem in the CT-API ifdhandler? > You can use the same patch in IFDHTransmitToICC() [1] of your driver. I'm using openct. Which internally uses unsigned short for the length of the recv buffer. But Marcin has prepared a patch for it [1] > I don't think the problem is on the pcsc-lite side. Hmm, from my point of view commit "8eb9ea1b354b SCardTransmit() may return SCARD_E_INSUFFICIENT_BUFFER" breaks all existing openct based drivers. > Please fix your IFDHandler driver. I hope someone in the openct teams listens. regards, Marc [1] https://github.com/OpenSC/openct/pull/5 -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
signature.asc
(application/pgp-signature, 455 B)
-----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJWaCZzAAoJEP5prqPJtc/H9uIH/RZkTPooPgGHa8PTwXAVkQsj 3mszM0j95TrFDLfmY7mkhWQHDcaVNqIEXazfSOEg7uugPBhEbDGSMtkVjQhmRv92 vyACd5qMD9uZEWumpmLuy2i/fHNnj2UeMGOQhYg41of0fZGmhCBpOj7xWtWqPGk7 SsjIjeOswrfDW9Abn2R5ZcEfizgi2wt0gfTkpYB4vt4dEBFOvocCmZOM6COweH9o 9mxYu0R5YUKfGChFwIhHGRStb9DFEuVPHYGwCC7ZOdAdxIly1X+XIyVqVzSEyWE6 u8VXmm8AN6c4bJ5B6Ru1eFoa3E7kuEGxXNeIgW+ylE2uzIAOyasUqR4tPW8oWaE= =MHEq -----END PGP SIGNATURE-----