Page MenuHomeFreeBSD

libusb: libusb10_hotplug: Remove lock leaks, locked sleep
ClosedPublic

Authored by • hselasky on Jan 30 2020, 4:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 8:48 AM
Unknown Object (File)
Fri, Sep 25, 9:12 PM
Unknown Object (File)
Wed, Sep 16, 8:33 PM
Unknown Object (File)
Tue, Sep 15, 1:27 AM
Unknown Object (File)
Mon, Sep 14, 9:04 PM
Unknown Object (File)
Mon, Sep 14, 8:58 AM
Unknown Object (File)
Mon, Sep 14, 3:02 AM
Unknown Object (File)
Mon, Sep 14, 2:09 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Hi,

I think only the first chunk is needed.

--HPS

• hselasky updated this revision to Diff 67517.
• hselasky edited reviewers, added: cem; removed: • hselasky.
• hselasky edited the summary of this revision. (Show Details)

Hm, I don't understand where we unlock in the rest of the chunks without the changes. Maybe the breaks intentionally return a locked context, but the continues seem obviously wrong. I don't see an unlock in, e.g., libusb_hotplug_filter() which would make that safe.

This revision is now accepted and ready to land.Jan 30 2020, 5:28 PM
This revision was automatically updated to reflect the committed changes.