[webkit-changes] [WebKit/WebKit] 8bea44: WTF::SegmentedString::Substring has uninitialized ...

Commit Queue noreply at github.com
Fri May 24 20:26:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8bea440e85a6c6bff58a968b88e5f7b65b6e3f6a
      https://github.com/WebKit/WebKit/commit/8bea440e85a6c6bff58a968b88e5f7b65b6e3f6a
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M Source/WebCore/platform/text/SegmentedString.h

  Log Message:
  -----------
  WTF::SegmentedString::Substring has uninitialized fields when m_length == 0
<https://bugs.webkit.org/show_bug.cgi?id=274677>
<rdar://128696520>

Reviewed by Yusuke Suzuki.

* Source/WebCore/platform/text/SegmentedString.h:
(WTF::SegmentedString::Substring):
- Provide default values for currentCharacter8 and is8Bit.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list