[webkit-changes] [WebKit/WebKit] f9ec06: Crash under TextBoxPainter<WebCore::InlineIterator...

Antti Koivisto noreply at github.com
Mon Nov 13 06:13:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f9ec06b716a3b55385058371585c2ca93d70a10b
      https://github.com/WebKit/WebKit/commit/f9ec06b716a3b55385058371585c2ca93d70a10b
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M Source/WebCore/rendering/TextBoxPainter.cpp

  Log Message:
  -----------
  Crash under TextBoxPainter<WebCore::InlineIterator::BoxModernPath>::collectDecoratingBoxesForTextBox
https://bugs.webkit.org/show_bug.cgi?id=264728
rdar://117897402

Reviewed by Alan Baradlay.

* Source/WebCore/rendering/TextBoxPainter.cpp:
(WebCore::TextBoxPainter<TextBoxPath>::collectDecoratingBoxesForTextBox):

There appears to be some case where parentInlineBox is not found. Add null checking.

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




More information about the webkit-changes mailing list