[Pcsclite-muscle] Race condition with SCardGetStatusChange() when USB Reader is removed

Ludovic Rousseau ludovic.rousseau at gmail.com
Thu May 11 09:08:53 UTC 2017


2017-05-10 13:44 GMT+02:00 Ludovic Rousseau <ludovic.rousseau at gmail.com>:

> 2017-05-09 15:16 GMT+02:00 Ludovic Rousseau <ludovic.rousseau at gmail.com>:
>
>> My proposed patch is do modify removeReader() [readerfactory.c] to call
>> EHDestroyEventHandler() _after_ RFUnInitializeReader() instead of before.
>>
>
> Ignore this patch. With it pcscd crashes on reader removal.
> I will propose something better.
>

But fixed in cbe677fc8fe94663fa70c5179385b17bdb7debec
https://github.com/LudovicRousseau/PCSC/commit/cbe677fc8fe94663fa70c5179385b17bdb7debec

Thanks

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


More information about the Pcsclite-muscle mailing list