ladybird/Userland
Nico Weber c9b8af70bf WebContent: Prevent renderer crash on partially invalid image
If an image had a valid header and valid metadata, but decoding the
image frame data failed, the renderer used to crash.

The crash only happened in SerenityOS, because there
ImageCodecPluginSerenity returned nullptr bitmaps.  Instead, return
{} like ImageCodecPluginLadybird already does if there's a nullptr
frame.

Fixes #19141.

Loading #19141 in the browser satisfyingly also serves as a manual
test for the bug.  (No automated test since we don't run layout
tests within SerenityOS on the bots.)
2023-06-02 09:57:20 +01:00
..
Applets AudioApplet: Read and apply config value only once 2023-05-29 13:22:58 +02:00
Applications KeyboardMapper: Do not drop the unix pledge 2023-05-31 16:25:01 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos LibGUI: Allow FilteringProxyModel to optionally sort results by score 2023-05-29 10:47:48 -06:00
DevTools LibGUI: Add support for jumping to a line and column in TextEditor 2023-06-01 06:26:40 +02:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games Chess+ChessEngine: Fix stockfish by setting correct blocking flag 2023-05-27 18:44:21 +02:00
Libraries LibJS: Store PrivateElement values in Handle<Value> 2023-06-02 10:33:12 +02:00
Services WebContent: Prevent renderer crash on partially invalid image 2023-06-02 09:57:20 +01:00
Shell Shell: Prefer File and FileSystem over DeprecatedFile 2023-05-30 00:21:59 +02:00
Utilities run-tests: Unlink coredumps in self-test mode 2023-06-01 09:04:20 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00