GetPipeProperties may fail when the device is unplugged if `DeviceVersion` not 
greater than 320. This case `maxPacketSize` will be zero and the integer 
division will throw a EXC_ARITHMETIC signal.

You can merge this Pull Request by running:

  git pull https://github.com/ikarienator/libusbx fix-sigfpe

Or you can view, comment on it, or merge it online at:

  https://github.com/libusbx/libusbx/pull/136

-- Commit Summary --

  * Fix SIGFPE

-- File Changes --

    M libusb/os/darwin_usb.c (8)

-- Patch Links --

https://github.com/libusbx/libusbx/pull/136.patch
https://github.com/libusbx/libusbx/pull/136.diff

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&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