[Pcsclite-muscle] Error handling when reading driver configs

Maksim Ivanov emaxx
Fri Mar 18 05:16:26 PDT 2016


Hello,

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. In file
hotplug_linux.c, the function's return value is not checked.


Regards,
Maksim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160318/7502811a/attachment.html>



More information about the pcsclite-muscle mailing list