1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_graphics/image_formats
reuk e0faa5c255
PNGImageFormat: Avoid crashing when attempting to write an invalid image
The default error handler could cause crashes, so we now set up a custom
error handler both when reading and writing PNGs.

The HeapBlock and BitmapData automatic variables have moved, so that
their destructors will still run as expected in the failure case. Note
that it's UB to call longjmp to unwind the stack to the previous setjmp,
if said unwinding would normally cause non-trivial destructors to run.
2025-09-25 18:38:32 +01:00
..
jpglib Graphics: Modify imported libjpeg sources for unity build compatibility 2025-06-19 13:18:43 +01:00
pnglib Fixed some warnings flagged by Clang's static analyzer 2021-07-19 15:48:31 +01:00
juce_GIFLoader.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_JPEGLoader.cpp Jpeg: Disable "extern C" in jpeglib.h 2025-08-20 09:51:28 +01:00
juce_PNGLoader.cpp PNGImageFormat: Avoid crashing when attempting to write an invalid image 2025-09-25 18:38:32 +01:00