libwebp/imageio
Pascal Massimino e56c3c5be3 pngdec: raise memory limit if needed
Some PNG input contain chunks larger than libpng's default
memory-alloc limit (8M).
Raise this limit reasonably if it looks like the input bitstream
is larger than libpng's default limit.

BUG=webp:497

Change-Id: I2c9fbed727424042444b82cbf15e0781cefb38dc
(cherry picked from commit 8696147da4)
2021-01-08 20:30:13 -08:00
..
Android.mk imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_dec.c Add limited PAM decoding support 2017-03-03 11:19:48 +01:00
image_dec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
image_enc.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
image_enc.h libimageenc.a: extract image-saving code from dwebp 2016-09-08 19:11:26 -07:00
imageio_util.c make ImgIoUtilReadFile use WebPMalloc instead of malloc 2020-10-16 15:40:13 +02:00
imageio_util.h make ImgIoUtilReadFile use WebPMalloc instead of malloc 2020-10-16 15:40:13 +02:00
jpegdec.c libwebp: Display "libjpeg error:" in imageio/jpegdec 2019-03-08 19:09:41 +01:00
jpegdec.h pngdec.c,jpegdec.[hc]: remove unnecessary includes 2016-07-20 12:12:14 -07:00
Makefile.am configure,*am,cosmetics: s/WANT_/BUILD_/ 2018-06-02 10:41:49 -07:00
metadata.c move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
metadata.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pngdec.c pngdec: raise memory limit if needed 2021-01-08 20:30:13 -08:00
pngdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
pnmdec.c PNM decoding: handle max_value != 255 2020-01-06 23:48:40 +01:00
pnmdec.h imageio: add limited PNM support for reading 2017-02-01 07:41:56 +00:00
tiffdec.c imageio/tiff: Return error before allocating bad tile size 2019-10-15 10:44:17 +02:00
tiffdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00
webpdec.c make ImgIoUtilReadFile use WebPMalloc instead of malloc 2020-10-16 15:40:13 +02:00
webpdec.h webpdec.h: fix a doc typo 2017-03-05 09:38:51 +00:00
wicdec.c wicdec: fail with animated images 2020-11-19 19:49:11 -08:00
wicdec.h move examples/{example_util,image_dec} to imageio/ 2016-07-19 19:06:29 -07:00