[Webkit-unassigned] [Bug 262891] New: WTF::computeHash() with RefPtr/CheckedPtr hashes the result of implicit boolean conversion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 9 08:16:44 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=262891

            Bug ID: 262891
           Summary: WTF::computeHash() with RefPtr/CheckedPtr hashes the
                    result of implicit boolean conversion
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koivisto at iki.fi

This can result in terrible hashing if the key contains RefPtrs, for example

using ResolverSharingKey = std::tuple<Vector<RefPtr<StyleSheetContents>>, bool, bool>;

in Style::Scope.

-- 
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/20231009/f5c3c69a/attachment.htm>


More information about the webkit-unassigned mailing list