RESOLVED FIXED 262891
WTF::computeHash() with RefPtr/CheckedPtr hashes the result of implicit boolean conversion
https://bugs.webkit.org/show_bug.cgi?id=262891
Summary WTF::computeHash() with RefPtr/CheckedPtr hashes the result of implicit boole...
Antti Koivisto
Reported 2023-10-09 08:16:44 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-09 08:17:18 PDT
Antti Koivisto
Comment 2 2023-10-09 08:21:03 PDT
EWS
Comment 3 2023-10-09 10:27:16 PDT
Committed 269081@main (a7e29096ee47): <https://commits.webkit.org/269081@main> Reviewed commits have been landed. Closing PR #18842 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.