Skip to content

jpeg: Increase memory limit for loading image data

Jake Dane requested to merge (removed):jakedane-master-patch-77002 into master

As fix for security issue #205 (closed) when loading image data the memory size was limited to 100 MB. That seemed like a good threshold. For larger images, from around 18 megapixels (MP) and up though not for all such images, this threshold was too low. Increasing the threshold too 300 MB seems to work better and lets larger images load.

Fixes #216 (closed).

Merge request reports