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

LibWeb: Null check fonts after parsing them in CRC2D.font assignment

Fixes an issue where setting CRC2D.font to an unparseable value would
assert due to a null dereference.
This commit is contained in:
Andreas Kling 2023-08-17 08:46:38 +02:00
parent ef6a78518f
commit f34cc0b8e3
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,2 @@
normal normal 20px SerenitySans
normal normal 20px SerenitySans