[webkit-changes] [WebKit/WebKit] a1fc5c: Add bounds checks to FastBitVector
Chris Dumez
noreply at github.com
Sun Dec 15 16:23:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1fc5cb7c15cd65d8c5b784f8f0e6db3fb2df7df
https://github.com/WebKit/WebKit/commit/a1fc5cb7c15cd65d8c5b784f8f0e6db3fb2df7df
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M Source/WTF/wtf/FastBitVector.h
Log Message:
-----------
Add bounds checks to FastBitVector
https://bugs.webkit.org/show_bug.cgi?id=284691
Reviewed by Darin Adler.
Enforce bounds checking in release builds for FastBitVector,
as security hardening.
This tested as performance neutral on Speedometer and JetStream.
* Source/WTF/wtf/FastBitVector.h:
(WTF::FastBitVectorWordView::word const):
(WTF::FastBitVectorWordOwner::word const):
(WTF::FastBitVectorWordOwner::word):
(WTF::FastBitVector::at):
Canonical link: https://commits.webkit.org/287860@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list