1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:15:07 +00:00
serenity/Tests/LibWeb/Layout/input/svg/svg-as-image-invalid.html
Aliaksandr Kalenik 8c980cf75b LibWeb: Do not crash inside SVGDecodedImageData on invalid SVG input
Return error when input svg is not valid and SVGSVGElement is not
present in the tree instead of doing svg_root nullptr dereference.

Fixes crash on https://apps.kde.org/en-gb/
2023-06-21 19:10:37 +02:00

1 line
No EOL
82 B
HTML

<!doctype html><img src="data:image/svg+xml;,some-garbage" style="display: block">