This happens intermittently on my Macbook Pro 5.5, so I debugged into
this for a while. And found there is an incorrect free due to the memory
not being zero-ed during allocation. The attached patch tries to fix
this issue (at least it worked on my side). And I've yet built the
libusb packages at:
http://people.canonical.com/~ycmiao/lp427805/libusb-0.1-4_0.1.12-14~lp427805_amd64.deb.
Please test and report back.

** Patch added: "libusb_memset_altsetting_alloc.patch"
   http://launchpadlibrarian.net/49424586/libusb_memset_altsetting_alloc.patch

** Changed in: libusb (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: libusb (Ubuntu)
     Assignee: (unassigned) => Eric Miao (eric.y.miao)

-- 
usb_find_devices() crashed with SIGSEGV in free()
https://bugs.launchpad.net/bugs/427805
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to