[webkit-changes] [WebKit/WebKit] d54f0a: Add bounds check for CSSValueList::operator[]
Chris Dumez
noreply at github.com
Wed Nov 1 16:05:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d54f0abea23e0843adbef23f01f93f18ff115df6
https://github.com/WebKit/WebKit/commit/d54f0abea23e0843adbef23f01f93f18ff115df6
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M Source/WebCore/css/CSSValueList.h
Log Message:
-----------
Add bounds check for CSSValueList::operator[]
https://bugs.webkit.org/show_bug.cgi?id=264055
Reviewed by Ryosuke Niwa.
Add bounds check for CSSValueList::operator[] for extra safety. This
tested as performance neutral on the benchmarks we track.
* Source/WebCore/css/CSSValueList.h:
(WebCore::CSSValueContainingVector::operator[] const):
Canonical link: https://commits.webkit.org/270087@main
More information about the webkit-changes
mailing list