Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bounds check to StringImpl::operator[]
https://bugs.webkit.org/show_bug.cgi?id=263899 Reviewed by Ryosuke Niwa. Add bounds check to StringImpl::operator[] for extra safety. This tested as performance neutral on Speedometer and Jetstream. * Source/WTF/wtf/text/StringImpl.h: (WTF::StringImpl::at const): * Source/WTF/wtf/text/WTFString.h: (WTF::String::characterAt const): Canonical link: https://commits.webkit.org/269967@main
- Loading branch information