This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
svg
/
custom
/
bug79798-expected.txt
2 lines
1 B
Raw
Permalink
Normal View
History
Unescape
Escape
SVG <use> element allows invalid contents https://bugs.webkit.org/show_bug.cgi?id=77764 Patch by Stephen Chenney <schenney@chromium.org> on 2012-02-29 Reviewed by Nikolas Zimmermann. Source/WebCore: Modify the isDisallowedElement method to disallow all of the disallowed elements, instead of just a few. It is now a whitelist implementation. This also fixes bugs 78807, 78838 and 79798 related to memory corruption issues. Tests: svg/custom/bug78807.svg svg/custom/bug78838.html svg/custom/bug79798.html * svg/SVGUseElement.cpp: (WebCore::isDisallowedElement): LayoutTests: These test all use invalid elements in the <use> and crash in the absence of this patch. Existing tests cover the valid elements in <use>, so no additional tests for those. * svg/custom/bug78807-expected.txt: Added. * svg/custom/bug78807.svg: Added. * svg/custom/bug78838-expected.txt: Added. * svg/custom/bug78838.html: Added. * svg/custom/bug79798-expected.txt: Added. * svg/custom/bug79798.html: Added. * svg/custom/resources/bug78838.svg: Added. * svg/custom/resources/bug79798.svg: Added. Canonical link: https://commits.webkit.org/97052@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@109299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-03-01 03:54:24 +00:00