Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45a531fbee9aae168c5795cc191a49b415f10e66
      
https://github.com/WebKit/WebKit/commit/45a531fbee9aae168c5795cc191a49b415f10e66
  Author: Myles C. Maxfield <mmaxfi...@apple.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M Source/WTF/wtf/text/icu/TextBreakIteratorICU.h

  Log Message:
  -----------
  utext_setup() can fail
https://bugs.webkit.org/show_bug.cgi?id=259468
rdar://112426537

Reviewed by Brent Fulgham.

Simply add a null check.

We don't know of any content that can cause this, but
we are getting reports of crashes at this stack trace.
So I don't know how to make a test :(

* Source/WTF/wtf/text/icu/TextBreakIteratorICU.h:
(WTF::TextBreakIteratorICU::TextBreakIteratorICU):
(WTF::TextBreakIteratorICU::operator=):
(WTF::TextBreakIteratorICU::setText):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to