2014-11-05 15:40 GMT+01:00 Maximilian Stein <[email protected]>:
> Hi,

Hello,

> we ran into a race condition in the libusb-1.0 hotplug module of
> pcsc-lite-1.8.11. As usual with race conditions the error was not easy
> to reproduce and to locate. Therefore I would like to contribute the
> attached patch which fixes the race condition.

Why do you use libusb instead of (default) libudev for hotplug?

I think the bug was present because I somewhat followed the example in
pipe(2) manpage.
The example is creating a new process using fork and not a new thread
(with shared memory).

Bye

-- 
 Dr. Ludovic Rousseau

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

Reply via email to