[Pcsclite-muscle] Error handling when reading driver configs

Ludovic Rousseau ludovic.rousseau
Fri Mar 18 05:50:08 PDT 2016

2016-03-18 13:16 GMT+01:00 Maksim Ivanov <emaxx at google.com>:

> Hello,


I knew you sould report more problems :-)

The error handling seems to be incorrect in some cases when the driver
> configs cannot be read.
> In file hotplug_libusb.c, function HPReadBundleValues() returns value -1
> on some errors, but then its return value is treated like boolean.

Fixed in 9d0438ae384c33276d671cdf0830fe5d51901192

> In file hotplug_linux.c, the function's return value is not checked.

Fixed in 152746d73149dff6218667b83b053233f2d3d476

Note that hotplug_linux should not be used since 2003, and hotplug_libusb
since 2008.
See http://ludovicrousseau.blogspot.fr/2011/02/ for some history.


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

More information about the pcsclite-muscle mailing list