Error handling when reading driver configs

Maksim Ivanov <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAH=wB8z1T65r=477-YQB0xJCv5NkkRPKDQZaod24-1Thvze0Hw@mail.gmail.com>
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

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.