[Pcsclite-muscle] [PATCH] ContextThread: SCARD_TRANSMIT: work around CT API recv buffer size of 64k

Marc Kleine-Budde mkl
Wed Dec 9 05:02:43 PST 2015


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   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20151209/df3be5eb/attachment.sig>



More information about the pcsclite-muscle mailing list