ladybird/Tests/LibGfx
Darius Arnold 884d8b14ac LibGfx: Prevent out of bounds access when scaling small Bitmaps
Since the color interpolation requires two pixels in the horizontal and
vertical direction to work, 1 pixel wide or high bitmaps would cause a
crash when scaling. Fix this by clamping the index into the valid range.

Fixes #16047.
2023-05-24 08:12:14 +02:00
..
test-inputs Tests: Add tests for 12 bits JPEGs 2023-05-09 07:00:15 +02:00
BenchmarkGfxPainter.cpp LibGfx+Tests: Remove code unnecessary after 9e7c16d0a4 2023-02-01 08:56:56 -05:00
BenchmarkJPEGLoader.cpp Tests: Add benchmarks for JPEGLoader 2023-04-03 20:58:49 +01:00
CMakeLists.txt LibGfx: Prevent out of bounds access when scaling small Bitmaps 2023-05-24 08:12:14 +02:00
TestDeltaE.cpp LibGfx: Add DeltaE() function 2023-04-30 05:57:20 +02:00
TestFontHandling.cpp Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
TestGfxBitmap.cpp LibGfx: Prevent out of bounds access when scaling small Bitmaps 2023-05-24 08:12:14 +02:00
TestICCProfile.cpp LibGfx+Fuzz: Convert ImageDecoder::initialize to ErrorOr 2023-05-12 09:40:24 +01:00
TestImageDecoder.cpp LibGfx+Fuzz: Convert ImageDecoder::initialize to ErrorOr 2023-05-12 09:40:24 +01:00
TestRect.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
TestScalingFunctions.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00