Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 2015 23:34:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 196471] segmentation fault in libusb usage
Message-ID:  <bug-196471-17-eBxfhAkqoC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196471-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196471-17@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196471

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

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

--- Comment #1 from Hans Petter Selasky <hselasky@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196471-17-eBxfhAkqoC>