[webkit-changes] [WebKit/WebKit] 64eea7: rdar://117803684 ([5d1fa25f3fa41fc3] ASAN_SEGV | W...

mscottapple noreply at github.com
Thu Nov 9 15:56:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64eea79c096c633675ca43ab3d71227f0ddd4570
      https://github.com/WebKit/WebKit/commit/64eea79c096c633675ca43ab3d71227f0ddd4570
  Author: Scott Marcy <mscott at apple.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    A LayoutTests/fast/svg/svg_should_not_crash-expected.txt
    A LayoutTests/fast/svg/svg_should_not_crash.html
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  rdar://117803684 ([5d1fa25f3fa41fc3] ASAN_SEGV | WebCore::RenderBox::repaintLayerRectsForImage; WebCore::RenderBox::imageChanged; WebCore::CachedImage::notifyObservers)

Reviewed by Matt Woodrow.

This checks for a non-unexpected case where an Element has no direct layer to render to.

* LayoutTests/fast/svg/svg_should_not_crash-expected.txt: Added.
* LayoutTests/fast/svg/svg_should_not_crash.html: Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::repaintLayerRectsForImage):

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




More information about the webkit-changes mailing list