Bug 274677

Summary: WTF::SegmentedString::Substring has uninitialized fields when m_length == 0
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Web Template FrameworkAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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