[Webkit-unassigned] [Bug 238871] Multiple uses of ThreadSafeRefCounted and CanMakeWeakPtr with non-thread-safe WeakPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 14 12:30:33 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=238871
Matt Woodrow <mattwoodrow at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mattwoodrow at apple.com
--- Comment #11 from Matt Woodrow <mattwoodrow at apple.com> ---
(In reply to Chris Dumez from comment #8)
>
> Right now, this bug seems to point out that we may be doing something that
> is not thread safe. I am willing to believe (thread safety bugs are common
> in WebKit and not always easy to reason about). I just think it would be
> better to speak about concrete examples in our code bases of something that
> is wrong. Then we can focus on fixing those.
>
A counter-argument here would be that if there's a common pattern that frequently leads to security issues, we should consider blocking that pattern entirely (ideally at compile time) to prevent future bugs of that type.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221114/e6731e09/attachment.htm>
More information about the webkit-unassigned
mailing list