16c4e53...
by
Emmanuele Bassi <email address hidden>
Check the right error code on 32bit architectures
The test for #205 will trigger an OOM error on 32 bit architectures,
since we're trying to allocate a buffer with a size that is larger than
2**32-1 bytes.
Fixes: #215
3313034...
by
Emmanuele Bassi <email address hidden>
Post-release version bump to 2.42.10
9b74d8d...
by
Emmanuele Bassi <email address hidden>
jpeg: Limit the memory size when loading image data
Closes #205
See merge request GNOME/gdk-pixbuf!139
b659038...
by
Emmanuele Bassi <email address hidden>
jpeg: Limit the memory size when loading image data
Specially crafted JPEG images may lead to a crash when their size is too
large; in the most benign of cases, the OS might terminate the process
after it tries to allocate all the memory in the world.
We can tell libjpeg to limit the size of the memory pool when loading,
to avoid this kind of result. For the time being, 100 MB seems like a
good threshold.
Original patch by: Sam Ezeh <email address hidden>