[Pcsclite-muscle] Insufficient buffer error message

Iulian Roman iulian.roman at gmail.com
Tue Dec 11 14:12:38 UTC 2012


Hi Ludovic,

On Tue, Dec 11, 2012 at 1:45 PM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:

> 2012/12/11 Iulian Roman <iulian.roman at gmail.com>:
> > Hi everybody,
>
> Hello,
>
> > I am successfully using pcsc-lite with rdesktop to authenticate vis smart
> > card to some windows TS. The issue i encountered is that for a specific
> type
> > of card (which is recognized by pcsc correctly) i get the following error
> > after i type the PIN:
> >
> > SCardGetAttrib Failure: Insufficient buffer
>
> What application is returning this error?
>

rdesktop


>
> > Did anyone experience the same issue, or does have any idea how  can it
> be
> > fixed ?
>
> SCardGetAttrib() uses a buffer and a buffer size to store the result. See
> [1].
> If the buffer size is too small then you get the error.
>

Is it possible to change  that limit ?

>
> Bye
>
> [1]
> http://pcsclite.alioth.debian.org/api/group__API.html#gaacfec51917255b7a25b94c5104961602
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pcsclite-muscle
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20121211/b0d13b31/attachment.html>


More information about the Pcsclite-muscle mailing list