ladybird/Libraries/LibGfx
Andreas Kling 7d5a369ac9 LibGfx: Fail PGM decode if there isn't enough color data in image
If we have less pixel color data than we need to fill the image, just
fail the decode.

Found by oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29127
2021-01-05 15:14:29 +01:00
..
Filters
AffineTransform.cpp
AffineTransform.h LibTTF: Fix code after rebase 2020-12-30 20:40:30 +01:00
Bitmap.cpp LibGfx: Add Gfx::Bitmap::create_shareable(format, size) 2021-01-02 16:57:31 +01:00
Bitmap.h LibGfx: Add Gfx::Bitmap::create_shareable(format, size) 2021-01-02 16:57:31 +01:00
BitmapFont.cpp LibGfx: Introduce provisional font interface 2020-12-31 23:40:27 +01:00
BitmapFont.h LibGfx: Introduce provisional font interface 2020-12-31 23:40:27 +01:00
BMPLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
BMPLoader.h
BMPWriter.cpp
BMPWriter.h
CharacterBitmap.cpp
CharacterBitmap.h
ClassicStylePainter.cpp LibGfx: Tweak color of checkmark in disabled+checked GUI::CheckBox 2021-01-01 23:08:59 +01:00
ClassicStylePainter.h LIbGUI+LibGfx: Paint focused push buttons with a heavier look 2020-12-28 12:41:26 +01:00
ClassicWindowTheme.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
ClassicWindowTheme.h
CMakeLists.txt LibGfx: Introduce provisional font interface 2020-12-31 23:40:27 +01:00
Color.cpp AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
Color.h AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
DisjointRectSet.cpp
DisjointRectSet.h
Emoji.cpp
Emoji.h
Font.cpp LibGfx+Ports: Add missing newlines at the end of file. 2021-01-03 17:12:50 +01:00
Font.h LibGfx: Introduce provisional font interface 2020-12-31 23:40:27 +01:00
FontDatabase.cpp LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
FontDatabase.h LibGFX: Move default_xxx_font() methods from Font to FontDatabase 2020-12-30 20:40:30 +01:00
Forward.h
Gamma.h
GIFLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
GIFLoader.h
ICOLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
ICOLoader.h
ImageDecoder.cpp
ImageDecoder.h
JPGLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
JPGLoader.h
Matrix.h
Matrix4x4.h
Orientation.h
Painter.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
Painter.h
Palette.cpp
Palette.h
Path.cpp
Path.h
PBMLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
PBMLoader.h
PGMLoader.cpp LibGfx: Fail PGM decode if there isn't enough color data in image 2021-01-05 15:14:29 +01:00
PGMLoader.h
PNGLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
PNGLoader.h
Point.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
Point.h LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
PortableImageLoaderCommon.h LibGfx: Fail PGM decode if there isn't enough color data in image 2021-01-05 15:14:29 +01:00
PPMLoader.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
PPMLoader.h
Rect.cpp
Rect.h AK+Format: Remove TypeErasedFormatParams& from format function. 2020-12-30 20:33:53 +01:00
ShareableBitmap.cpp
ShareableBitmap.h
Size.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
Size.h LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
StandardCursor.h WindowServer: Validate cursor type in SetWindowCursor message handler 2020-12-25 23:07:06 +01:00
Streamer.h
StylePainter.cpp LIbGUI+LibGfx: Paint focused push buttons with a heavier look 2020-12-28 12:41:26 +01:00
StylePainter.h LIbGUI+LibGfx: Paint focused push buttons with a heavier look 2020-12-28 12:41:26 +01:00
SystemTheme.cpp
SystemTheme.h
TextAlignment.h
TextAttributes.h LibGfx: Add Gfx::TextAttributes (and use it in GUI::TextDocumentSpan) 2021-01-02 20:57:43 +01:00
TextElision.h
Triangle.cpp LibGUI: Use String::formatted() and String::number() more 2021-01-03 15:26:47 +01:00
Triangle.h
Vector3.h
WindowTheme.cpp
WindowTheme.h