[Bug 196471] segmentation fault in libusb usage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 3 23:34:20 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196471

Hans Petter Selasky <hselasky at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |hselasky at FreeBSD.org

--- Comment #1 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
Hi,

You are accessing freed memory. If you want the "device" to stay around after
"libusb_close()" please use "libusb_ref_device()" to get an extra reference on
it.

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list