[webkit-changes] [WebKit/WebKit] 5ce1ab: Element application crashes in WebCore::Path::isEm...

Carlos Garcia Campos noreply at github.com
Wed Oct 11 14:58:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5ce1ab0db72b993acbfbfc730d3d6f32f6849600
      https://github.com/WebKit/WebKit/commit/5ce1ab0db72b993acbfbfc730d3d6f32f6849600
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M Source/WebCore/rendering/svg/RenderSVGPath.cpp
    M Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp

  Log Message:
  -----------
  Element application crashes in WebCore::Path::isEmpty()
https://bugs.webkit.org/show_bug.cgi?id=262475

Reviewed by Said Abou-Hallawa.

Check hasPath() before calling path().

* Source/WebCore/rendering/svg/RenderSVGPath.cpp:
(WebCore::RenderSVGPath::isRenderingDisabled const):
* Source/WebCore/rendering/svg/legacy/LegacyRenderSVGPath.cpp:
(WebCore::LegacyRenderSVGPath::isRenderingDisabled const):

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




More information about the webkit-changes mailing list