Bug 268263 - PAL::ErrorCallbackSetter has two uninitialized fields when m_shouldStopOnEncodingErrors is false
Summary: PAL::ErrorCallbackSetter has two uninitialized fields when m_shouldStopOnEnco...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 17079
Blocks:
  Show dependency treegraph
 
Reported: 2024-01-28 12:29 PST by David Kilzer (:ddkilzer)
Modified: 2024-01-29 09:52 PST (History)
2 users (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-01-28 12:29:05 PST
PAL::ErrorCallbackSetter has two uninitialized fields when m_shouldStopOnEncodingErrors is false.

Found by clang static analyzer.

Regressed in:

    XML documents should be strict about encoding checks
    http://bugs.webkit.org/show_bug.cgi?id=17079
    https://commits.webkit.org/24982@main
Comment 1 Radar WebKit Bug Importer 2024-01-28 12:29:21 PST
<rdar://problem/121815500>
Comment 2 David Kilzer (:ddkilzer) 2024-01-28 12:31:55 PST
Pull request: https://github.com/WebKit/WebKit/pull/23393
Comment 3 EWS 2024-01-29 09:52:20 PST
Committed 273666@main (cad16f474d3f): <https://commits.webkit.org/273666@main>

Reviewed commits have been landed. Closing PR #23393 and removing active labels.