mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Add missing empty size check before allocating PaintingSurface
Fixes crashing when Gfx::PaintingSurface::create_with_size() is called with a size of 0.
This commit is contained in:
parent
bd93285811
commit
fd25fea3ab
Notes:
github-actions[bot]
2024-12-05 16:21:51 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: fd25fea3ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2788
3 changed files with 14 additions and 2 deletions
|
@ -0,0 +1 @@
|
|||
PASS (didn't crash!)
|
Loading…
Add table
Add a link
Reference in a new issue