[webkit-changes] [WebKit/WebKit] a722b3: nullptr crash | WebCore::isScriptElement; WebCore:...
lopezlozoya
noreply at github.com
Tue Jan 21 22:12:31 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a722b348044c8a77e81521b47bbd72b1b87a5410
https://github.com/WebKit/WebKit/commit/a722b348044c8a77e81521b47bbd72b1b87a5410
Author: Adan Lopez <ja_lopezlozoya at apple.com>
Date: 2025-01-21 (Tue, 21 Jan 2025)
Changed paths:
A LayoutTests/svg/dom/SVGAnimatedString-detached-set-baseVal-expected.txt
A LayoutTests/svg/dom/SVGAnimatedString-detached-set-baseVal.html
M Source/WebCore/svg/properties/SVGAnimatedString.cpp
Log Message:
-----------
nullptr crash | WebCore::isScriptElement; WebCore::SVGAnimatedString::setBaseVal;
https://bugs.webkit.org/show_bug.cgi?id=286307
rdar://141021945
Reviewed by Ryosuke Niwa.
Adding a null check on the element before passing it in isScriptElement in SVGAnimatedString::setBaseVal().
* Source/WebCore/svg/properties/SVGAnimatedString.cpp:
(WebCore::SVGAnimatedString::setBaseVal):
Canonical link: https://commits.webkit.org/289221@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