mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:37:34 +00:00
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/
This commit is contained in:
parent
33dbfa3281
commit
8c980cf75b
3 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x48 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x32 children: not-inline
|
||||
ImageBox <img> at (8,8) content-size 16x32 children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue