Branch: refs/heads/webkitglib/2.38 Home: https://github.com/WebKit/WebKit Commit: 891988e5eb269450ccdaed22ab4cc7e3573c697f https://github.com/WebKit/WebKit/commit/891988e5eb269450ccdaed22ab4cc7e3573c697f Author: Joseph Griego <jgri...@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@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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes