1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 05:35:07 +00:00
serenity/Userland/Libraries/LibGfx/ImageFormats
Lucas CHOLLET b918dcd4db LibGfx/TGA: Compute the number of pixels with a wider type
Both width and height are stored in an u16 inside the TGA header,
computing the total number of pixel without using another type can
easily lead to overflows.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55309&q=serenity&can=2
2023-07-19 06:52:45 +02:00
..
BMPLoader.cpp LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
BMPLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
BMPWriter.cpp
BMPWriter.h
BooleanDecoder.cpp LibGfx/LibVideo: Check for overreads only at end of a VPX range decode 2023-06-10 07:17:12 +02:00
BooleanDecoder.h LibGfx/LibVideo: Check for overreads only at end of a VPX range decode 2023-06-10 07:17:12 +02:00
DDSLoader.cpp LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
DDSLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
GIFLoader.cpp LibGfx/GIF: Decode the header in create() 2023-07-15 09:44:30 +02:00
GIFLoader.h LibGfx/GIF: Only use a FixedMemoryStream 2023-07-15 09:44:30 +02:00
ICOLoader.cpp LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
ICOLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
ImageDecoder.cpp LibGfx: Remove ImageDecoderPlugin::initialize() 2023-07-18 14:34:35 +01:00
ImageDecoder.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
JPEGLoader.cpp LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
JPEGLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
JPEGShared.h LibGfx/JPEG: Put generic definitions in a shared header 2023-06-22 21:13:04 +02:00
JPEGWriter.cpp Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
JPEGWriter.h LibGfx/JPEG: Take the quality as an argument instead of hardcoding it 2023-07-04 00:01:06 +02:00
JPEGWriterTables.h LibGfx/JPEG: Add a JPEG encoder :^) 2023-06-22 21:13:04 +02:00
PBMLoader.cpp LibGfx/PortableFormat: Simplify the State enum 2023-07-11 14:16:33 +01:00
PBMLoader.h
PGMLoader.cpp LibGfx/PortableFormat: Simplify the State enum 2023-07-11 14:16:33 +01:00
PGMLoader.h
PNGLoader.cpp LibGfx/PNG: Remove the useless HeaderDecoded state 2023-07-17 06:49:03 +01:00
PNGLoader.h LibGfx/PNG: Decode the header in create() and remove initialize() 2023-07-17 06:49:03 +01:00
PNGShared.h
PNGWriter.cpp LibGfx/PNGWriter: Use a better limit for scanline capactiy 2023-07-12 07:51:54 +01:00
PNGWriter.h
PortableFormatWriter.cpp
PortableFormatWriter.h
PortableImageLoaderCommon.h LibGfx/PortableFormat: Read the header during initialization 2023-07-11 14:16:33 +01:00
PortableImageMapLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
PPMLoader.cpp LibGfx/PortableFormat: Simplify the State enum 2023-07-11 14:16:33 +01:00
PPMLoader.h
QOILoader.cpp LibGfx/QOI: Decode the header in create() and remove initialize() 2023-07-14 06:17:12 +02:00
QOILoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
QOIWriter.cpp
QOIWriter.h
TGALoader.cpp LibGfx/TGA: Compute the number of pixels with a wider type 2023-07-19 06:52:45 +02:00
TGALoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
TinyVGLoader.cpp LibGfx/TinyVG: Decode the header in create() and remove initialize() 2023-07-16 20:39:51 +02:00
TinyVGLoader.h LibGfx: Provide a default implementation for animation-related methods 2023-07-18 14:34:35 +01:00
WebPLoader.cpp LibGfx/WebP: Remove a typo 2023-07-15 09:34:07 +02:00
WebPLoader.h LibGfx/WebP: Decode the first chunk in create() 2023-07-15 09:34:07 +02:00
WebPLoaderLossless.cpp WebP/Lossless: Set alpha to 0xff if is_alpha_used is false in header 2023-06-18 18:47:47 +02:00
WebPLoaderLossless.h
WebPLoaderLossy.cpp LibGfx/LibVideo: Check for overreads only at end of a VPX range decode 2023-06-10 07:17:12 +02:00
WebPLoaderLossy.h
WebPLoaderLossyTables.h WebP/Lossy: Add const annotations to functions in Tables.h 2023-06-01 16:23:46 +02:00