Re: [PATCH libcacard] Do not fail, if the caller didn't pick up response from previous call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> Hello all,
> cross-posting the originally opened pull request on github [1] (with
> attached patch):
> 
> During our testing of a new CAC driver in OpenSC, with this library, we
> encountered a problem with |libcacard| failing and the driver returning
> only a fraction of the requested objects.
> 
> The problem is that the Emulator wants to return the data (properly
> signalized by 61 (RESPONSE BYTES) in SW1), but this is ignored for some
> reason in some of our calls from OpenSC. The Emulator should not fail
> hard for the next independent request, rather silently drop the buffer
> and serve the ongoing APDU request (I would left for consideration to
> somehow log such problem).
> 
> Patch was successfully tested on Fedora 24 host and solves our problem
> (though we worked around the problem already in the driver too).
> 
> [1] https://github.com/SPICE/libcacard/pull/1

ack, and pushed

Please next time, use git send-email (with the default inline patch attachment)

Thanks
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]