[webkit-changes] [WebKit/WebKit] 53e67f: REGRESSION(277450 at main): OOB array read with SVG a...

mscottapple noreply at github.com
Wed May 1 10:08:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53e67f679530f17b29fa09c1ca2af78cb1b0e0e4
      https://github.com/WebKit/WebKit/commit/53e67f679530f17b29fa09c1ca2af78cb1b0e0e4
  Author: Scott Marcy <mscott at apple.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    A LayoutTests/svg/animations/animate-zero-keyPoints-should-not-crash-expected.txt
    A LayoutTests/svg/animations/animate-zero-keyPoints-should-not-crash.html
    M Source/WebCore/svg/SVGAnimationElement.cpp

  Log Message:
  -----------
  REGRESSION(277450 at main): OOB array read with SVG animation where keyPoints = 0.
https://bugs.webkit.org/show_bug.cgi?id=272929
rdar://126636733

Reviewed by Said Abou-Hallawa.

This change makes a couple additional, similar changes to the original changes
to better track the SVG spec. (See the original bug for more information.)

* LayoutTests/svg/animations/animate-zero-keyPoints-should-not-crash-expected.txt: Added.
* LayoutTests/svg/animations/animate-zero-keyPoints-should-not-crash.html: Added.
* Source/WebCore/svg/SVGAnimationElement.cpp:
(WebCore::SVGAnimationElement::keyTimes const):
(WebCore::SVGAnimationElement::startedActiveInterval):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list