Re: Error handling when reading driver configs

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8CT+M6GA5bukxkMTetouQHbEEGu4jFf8nrMu0haR6aZcg@mail.gmail.com>
2016-03-18 13:16 GMT+01:00 Maksim Ivanov <[email protected]>:

> Hello,
>

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.

Bye

-- 
 Dr. Ludovic Rousseau

_______________________________________________
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.