libwebp/examples
Pascal Massimino 3c49178f7d prevent 32b overflow for very large canvas_width / height
some multiplies here and there needed some extra checks
and error reporting. Even if width * height is guaranteed
to be < 2**32, we were multiplying by num_channels and
triggering a 32b overflow.
Some multiplies were not using size_t or uint64_t, additionally.

Change-Id: If2a35b94c8af204135f4b88a7fd63850aa381bbf
(cherry picked from commit 1c36440094)
2016-12-08 15:27:51 -08:00
..
Android.mk collect all decoding utilities from examples/ in libexampledec.a 2016-06-01 05:39:55 +00:00
anim_diff.c Make gif transparent color to be transparent black 2016-12-08 15:27:40 -08:00
anim_util.c prevent 32b overflow for very large canvas_width / height 2016-12-08 15:27:51 -08:00
anim_util.h migrate anim_diff tool from C++ to C89 2015-11-09 18:12:06 -08:00
cwebp.c Add descriptions of default configuration in help info. 2016-12-07 18:30:17 -08:00
dwebp.c normalize the number of .'s in the help message 2016-06-23 16:06:09 -07:00
example_util.c imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
example_util.h imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
gif2webp.c gif2webp: fix crash with NULL extension data 2016-11-02 23:09:49 -07:00
gifdec.c Make gif transparent color to be transparent black 2016-12-08 15:27:40 -08:00
gifdec.h gifdec: Move inclusion of webp/config.h to header. 2015-04-17 12:43:17 -07:00
image_dec.c introduce a common signature for all image reader function 2016-06-01 22:51:41 +00:00
image_dec.h introduce a common signature for all image reader function 2016-06-01 22:51:41 +00:00
jpegdec.c imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
jpegdec.h introduce a common signature for all image reader function 2016-06-01 22:51:41 +00:00
Makefile.am collect all decoding utilities from examples/ in libexampledec.a 2016-06-01 05:39:55 +00:00
metadata.c update copyright text 2013-06-06 23:09:14 -07:00
metadata.h simplify __cplusplus ifdef 2013-12-16 20:16:02 -08:00
pngdec.c imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
pngdec.h cwebp: add support for stdin input 2015-12-08 12:45:41 +01:00
stopwatch.h stopwatch.h: fix includes 2014-10-22 17:25:41 +02:00
test_ref.ppm lot of cosmetics 2010-11-17 20:09:47 -08:00
test.webp remove INAM, ICOP, ... chunks from the test webp file. 2012-07-19 17:34:04 -07:00
tiffdec.c imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
tiffdec.h cwebp: add support for stdin input 2015-12-08 12:45:41 +01:00
vwebp.c vwebp: ensure setenv() is available in stdlib.h 2016-12-07 18:30:54 -08:00
webpdec.c ReadWebP: avoid conversion to ARGB if final format is YUVA 2016-05-26 05:49:16 +00:00
webpdec.h cwebp: add support for stdin input 2015-12-08 12:45:41 +01:00
webpmux.c Merge "webpmux/DisplayInfo: send non-error output to stdout" 2015-09-26 05:36:40 +00:00
wicdec.c imageio_util: add ImgIoUtilCheckSizeArgumentsOverflow 2016-11-02 23:36:28 -07:00
wicdec.h for ReadXXXX() image-readers, use the value of pic->use_argb 2015-10-27 22:54:11 +01:00