Re: Race condition with SCardGetStatusChange() when USB Reader is removed

Ludovic Rousseau <[email protected]> Thu, 11 May 2017 11:08:53 +0200
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8A-hiQRViJDBLTBX_4DsMvUdQ9cqYYg5bqh_raBhmBitQ@mail.gmail.com>
2017-05-10 13:44 GMT+02:00 Ludovic Rousseau <[email protected]>:

> 2017-05-09 15:16 GMT+02:00 Ludovic Rousseau <[email protected]>:
>
>> 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

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle