[webkit-changes] [WebKit/WebKit] 891988: Cherry-pick 264088 at main (d565c2070f7a). https://bu...
jjgriego
noreply at github.com
Sat May 20 01:14:11 PDT 2023
Branch: refs/heads/webkitglib/2.38
Home: https://github.com/WebKit/WebKit
Commit: 891988e5eb269450ccdaed22ab4cc7e3573c697f
https://github.com/WebKit/WebKit/commit/891988e5eb269450ccdaed22ab4cc7e3573c697f
Author: Joseph Griego <jgriego at igalia.com>
Date: 2023-05-20 (Sat, 20 May 2023)
Changed paths:
M Source/WTF/wtf/text/StringCommon.h
M Tools/TestWebKitAPI/Tests/WTF/StringCommon.cpp
Log Message:
-----------
Cherry-pick 264088 at main (d565c2070f7a). https://bugs.webkit.org/show_bug.cgi?id=256606
Fix off-by-one in WTF::findIgnoringASCIICaseWithoutLength
https://bugs.webkit.org/show_bug.cgi?id=256606
Reviewed by Chris Dumez.
A needle identical to the haystack won't be found by this function because of
the length comparison used. Luckily, this function is unused except in testb3,
so nothing else really needs to be changed.
* Source/WTF/wtf/text/StringCommon.h:
(WTF::findIgnoringASCIICaseWithoutLength):
Canonical link: https://commits.webkit.org/264088@main
More information about the webkit-changes
mailing list