[webkit-changes] [WebKit/WebKit] cad16f: PAL::ErrorCallbackSetter has two uninitialized fie...

Commit Queue noreply at github.com
Mon Jan 29 09:52:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cad16f474d3ffb21f61ba1280e9daa3a66ba9b48
      https://github.com/WebKit/WebKit/commit/cad16f474d3ffb21f61ba1280e9daa3a66ba9b48
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M Source/WebCore/PAL/pal/text/TextCodecICU.cpp

  Log Message:
  -----------
  PAL::ErrorCallbackSetter has two uninitialized fields when m_shouldStopOnEncodingErrors is false
https://bugs.webkit.org/show_bug.cgi?id=268263
<rdar://121815500>

Reviewed by Alex Christensen.

* Source/WebCore/PAL/pal/text/TextCodecICU.cpp:
(PAL::ErrorCallbackSetter):
- Initialize m_savedContext and m_savedAction to nullptr.

Canonical link: https://commits.webkit.org/273666@main




More information about the webkit-changes mailing list