[webkit-changes] [WebKit/WebKit] 160483: REGRESSION(253500 at main?): Nullptr crash in RenderT...

Antti Koivisto noreply at github.com
Mon Sep 12 12:02:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 16048333a3c0d7d9e399a773751690e3697c1cef
      https://github.com/WebKit/WebKit/commit/16048333a3c0d7d9e399a773751690e3697c1cef
  Author: Antti Koivisto <antti at apple.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

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

  Log Message:
  -----------
  REGRESSION(253500 at main?): Nullptr crash in RenderTextControlSingleLine::layout()
https://bugs.webkit.org/show_bug.cgi?id=245079
<rdar://99803264>

Reviewed by Aditya Keerthi.

* Source/WebCore/rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):

There should always be a linebox but it appears there is some case where there isn't.
Null check the iterator.

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




More information about the webkit-changes mailing list