[webkit-changes] [WebKit/WebKit] da6ed3: Add bounds check to TextRun::operator[]
Chris Dumez
noreply at github.com
Wed Nov 1 15:46:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: da6ed35d5041d3b137c3e5ae3c6d365194c27bed
https://github.com/WebKit/WebKit/commit/da6ed35d5041d3b137c3e5ae3c6d365194c27bed
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M Source/WebCore/platform/graphics/TextRun.h
Log Message:
-----------
Add bounds check to TextRun::operator[]
https://bugs.webkit.org/show_bug.cgi?id=264053
Reviewed by Alan Baradlay.
Add bounds check to TextRun::operator[] for extra safety. This tested
as performance neutral on the benchmarks we track.
* Source/WebCore/platform/graphics/TextRun.h:
(WebCore::TextRun::operator[] const):
Canonical link: https://commits.webkit.org/270086@main
More information about the webkit-changes
mailing list