[Bug 234805] pthread_*_destroy doesn't handle locked objects consistently

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 11 18:03:27 UTC 2019


--- Comment #4 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #3)
Well, today, if an unlocked pthread_cond_destroy() races with
pthread_cond_wait(), there is a possibility of a use-after-free.  The proposal
does not introduce any new race AFAIK, though I did not yet look closely at the
pshared case.

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

More information about the freebsd-threads mailing list