Bug 256606 - Off-by-one in WTF::findIgnoringASCIICaseWithoutLength
Summary: Off-by-one in WTF::findIgnoringASCIICaseWithoutLength
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-10 12:45 PDT by Joseph Griego
Modified: 2023-05-15 16:21 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Griego 2023-05-10 12:45:52 PDT
A needle identical to the haystack won't be found by this function. Luckily it is unused except in `testb3`.

Patch forthcoming
Comment 1 Joseph Griego 2023-05-10 12:47:30 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13710
Comment 2 EWS 2023-05-15 16:20:17 PDT
Committed 264088@main (d565c2070f7a): <https://commits.webkit.org/264088@main>

Reviewed commits have been landed. Closing PR #13710 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-15 16:21:20 PDT
<rdar://problem/109377322>