[Pcsclite-muscle] Possible data truncation on receive in 1.8.14

Ludovic Rousseau ludovic.rousseau
Fri Nov 13 05:29:05 PST 2015


2015-11-13 13:40 GMT+01:00 Marcin Cieslak <saper at saper.info>:

> Hello,
> My setup (FreeBSD+OmniKey 4040 PCMCIA+OpenCT IFD) started
> having trouble after 1.8.14 upgrade (truncated responses
> from the card terminal that didn't end with 90 00).

I think you should have the same problem with older versions of pcsc-lite
as well.

> The problem turns out is that the receive buffer size
> is now 65548 bytes on my platform,
> and my configuration seem to return only
> 12 bytes with such a large buffer.

I don't know how a bigger buffer could have a truncation as effect.

Where exactly does the truncation occurs?


 Dr. Ludovic Rousseau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20151113/806f93a2/attachment.html>

More information about the pcsclite-muscle mailing list