Bug 263491 - [Hardening] Add bounds check to StringView::operator[]
Summary: [Hardening] Add bounds check to StringView::operator[]
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: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-20 19:56 PDT by Chris Dumez
Modified: 2023-10-21 14:20 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 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>