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
F82017613: D23430.id67515.diff
Wed, Apr 24, 2:49 PM
Unknown Object (File)
Mar 22 2024, 9:15 PM
Unknown Object (File)
Mar 22 2024, 9:15 PM
Unknown Object (File)
Mar 22 2024, 9:15 PM
Unknown Object (File)
Mar 22 2024, 9:15 PM
Unknown Object (File)
Mar 8 2024, 7:42 AM
Unknown Object (File)
Feb 3 2024, 8:14 AM
Unknown Object (File)
Jan 11 2024, 9:43 PM
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.