On Tue, Aug 27, 2013 at 11:10 PM, Cody Vaudrin <mntgoat...@gmail.com> wrote:
> Hello all, I was wondering if there's a way to test a given 
> libusb_device_handle for validity? I have a situation where a device handle 
> could be corrupted, and when a corrupted (invalid) device handle is passed to 
> the libusb_reset_device() function, libusbx crashes. I'm wondering if there's 
> a way to test a given device handle before passing it into this function.
>
> Thanks for your help,
> -Cody

Wouldn't the correct fix be to solve the cause of the corruption
rather than try and deal with possibly corrupt data?

Jon

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to