1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +00:00

LibWeb: Fix null dereference on SVG element with bogus fill URL

Fixes a crash seen on YouTube channel pages.
This commit is contained in:
Andreas Kling 2023-05-19 15:14:34 +02:00
parent 411b28fc59
commit 6f204f8c32
3 changed files with 15 additions and 5 deletions

View file

@ -0,0 +1,3 @@
<!doctype html><style>
* { font: 20px SerenitySans; }
</style><svg viewBox="0 0 100 100"><rect x=0 y=0 width=100 height=100 fill="url(#bogus)"></svg>