Bug 263491

Summary: [Hardening] Add bounds check to StringView::operator[]
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web Template FrameworkAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-10-20 19:56:26 PDT
Add bounds check to StringView::operator[] and StringView::charactersAt() as a hardening measure.
Comment 1 Chris Dumez 2023-10-20 20:01:47 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19386
Comment 2 EWS 2023-10-21 14:16:58 PDT
Committed 269630@main (7eeecadfc008): <https://commits.webkit.org/269630@main>

Reviewed commits have been landed. Closing PR #19386 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-10-21 14:20:29 PDT
<rdar://problem/117309123>