[webkit-changes] [WebKit/WebKit] 966bb6: Enforce bounds checking in FixedVector
Chris Dumez
noreply at github.com
Tue May 28 12:10:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 966bb6ff4463ee03a265c34655184a179d20889c
https://github.com/WebKit/WebKit/commit/966bb6ff4463ee03a265c34655184a179d20889c
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M Source/WTF/wtf/FixedVector.h
Log Message:
-----------
Enforce bounds checking in FixedVector
https://bugs.webkit.org/show_bug.cgi?id=274783
Reviewed by Darin Adler.
Enforce bounds checking in FixedVector for safety. This tested as
performance neutral on the benchmarks we track.
* Source/WTF/wtf/FixedVector.h:
(WTF::FixedVector::at):
(WTF::FixedVector::at const):
(WTF::FixedVector::operator[]):
(WTF::FixedVector::operator[] const):
Canonical link: https://commits.webkit.org/279392@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