[Pcsclite-muscle] Insufficient buffer error message
Iulian Roman
iulian.roman
Thu Dec 13 05:32:05 PST 2012
On Tue, Dec 11, 2012 at 3:39 PM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:
> 2012/12/11 Iulian Roman <iulian.roman at gmail.com>:
> >
> > 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 ?
>
> The limit is given by the application.
> In this case rdesktop is giving a too short buffer.
>
Thanks for the hint. I've posted it on the rdesktop mailing list , maybe
there is someone who can point out if there is anything I can change or if
there is any workaround.
>
> Unless the problem is elsewhere...
>
> --
> 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/20121213/47e3c40e/attachment.html>
More information about the pcsclite-muscle
mailing list