Bug 274677 - WTF::SegmentedString::Substring has uninitialized fields when m_length == 0
Summary: WTF::SegmentedString::Substring has uninitialized fields when m_length == 0
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-24 12:34 PDT by David Kilzer (:ddkilzer)
Modified: 2024-05-24 12:41 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 David Kilzer (:ddkilzer) 2024-05-24 12:34:37 PDT
WTF::SegmentedString::Substring has uninitialized fields when m_length == 0.

Found by clang static analyzer.
Comment 1 Radar WebKit Bug Importer 2024-05-24 12:34:54 PDT
<rdar://problem/128696520>
Comment 2 David Kilzer (:ddkilzer) 2024-05-24 12:41:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29079