Files
ladybird/Userland/Libraries/LibGfx/ImageFormats/JPEGLoader.cpp
0x4261756D 6923008a55 JPEGLoader: Fix infinite loop on incomplete data
If the image data to decode is incomplete, e.g. a corrupt image missing
its last scanlines the decoder would previously keep looping for ever.
By breaking out of the loop if no more scanlines were produced we can at
least display the partial image up to that point.
2024-10-12 19:21:03 +02:00

7.2 KiB