-
Notifications
You must be signed in to change notification settings - Fork 1.7k
REGRESSION(277450@main): OOB array read with SVG animation where keyPoints = 0. #27481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REGRESSION(277450@main): OOB array read with SVG animation where keyPoints = 0. #27481
Conversation
|
EWS run on previous version of this PR (hash bbc0bf7) |
|
Added people involved with the change that introduced this crash. |
bbc0bf7 to
c55c930
Compare
|
EWS run on previous version of this PR (hash c55c930) |
|
Please include the blamed revision 277450@main in the title of the commit message. |
c55c930 to
01ff56b
Compare
|
EWS run on previous version of this PR (hash 01ff56b) |
01ff56b to
caa2678
Compare
|
EWS run on previous version of this PR (hash caa2678) |
...utTests/platform/gtk-wk2/svg/animations/animate-zero-keyPoints-should-not-crash-expected.txt
Outdated
Show resolved
Hide resolved
LayoutTests/svg/animations/animate-zero-keyPoints-should-not-crash.html
Outdated
Show resolved
Hide resolved
caa2678 to
a4cea47
Compare
|
EWS run on previous version of this PR (hash a4cea47)
|
a4cea47 to
7b6d1a4
Compare
|
EWS run on previous version of this PR (hash 7b6d1a4) |
|
Please change the commit message to describe correctly the current change. |
|
Now the test |
|
I think the specs is clear about the But I think it is not clear about the overriding rules for the keyTimes when the This is consistent with our code. In So to fix this issue, you will need to add this change to your patch. |
|
What do I have to do to fix the problem? |
7b6d1a4 to
cd30bd5
Compare
|
EWS run on previous version of this PR (hash cd30bd5) |
cd30bd5 to
c1a7f24
Compare
|
EWS run on current version of this PR (hash c1a7f24) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: There is no need for the parentheses. The operator precedence should work as expected:
- The equality != and ==
- The logical &&
- The ternary conditional ? :
…oints = 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
c1a7f24 to
53e67f6
Compare
|
Committed 278212@main (53e67f6): https://commits.webkit.org/278212@main Reviewed commits have been landed. Closing PR #27481 and removing active labels. |
🧪 api-mac
53e67f6
c1a7f24