libpng/contrib
John Bowler 319c9852bf Unsigned overflow
Remove all currently detected cases of unsigned overflow.  Detection is
runtime, so test case dependent.  The changes to pngvalid.c eliminate
spurious and probably invalid tests with one while loop exception.

Apart from that and the change to the dependence on the intended
unsigned overflow in pngtrans.c the changes are limited to altering the
meme for an unsigned 'x' from:

   while (x-- > 0)

to

   for (; x > 0; --x)

This works because, in all cases, the control variable is not used in
the loop.  The 'while' meme was, at one time, warn'ed by GCC so it is
probably a good change, for some weird religious value of good.

Signed-off-by: John Bowler <jbowler@acm.org>
2016-09-30 18:37:22 -07:00
..
arm-neon [libpng16] Imported from libpng-1.6.20rc01.tar 2015-11-26 07:04:24 -06:00
conftest pngcp: add high resolution timing 2016-07-01 11:29:45 -07:00
examples [libpng16] Imported from libpng-1.6.20rc01.tar 2015-11-26 07:04:24 -06:00
gregbook [libpng16] Imported from libpng-1.6.22.tar 2016-05-26 07:25:14 -05:00
intel [libpng16] Imported from libpng-1.6.25rc05.tar 2016-08-30 11:15:49 -05:00
libtests Unsigned overflow 2016-09-30 18:37:22 -07:00
mips-msa Added build support for MIPS MSA 2016-08-29 19:07:25 +05:30
pngminim [libpng16] Removed unneeded "#define PNG_NO_WARNINGS" from contrib/pngminim/* 2014-02-16 13:56:10 -06:00
pngminus [libpng16] Change "n bit" to "n-bit" in comments. 2015-08-13 20:57:18 -05:00
pngsuite [libpng16] Imported from libpng-1.6.19beta02.tar 2015-08-19 12:58:14 -05:00
testpngs test PNG files (contrib/testpngs) 2015-09-25 13:10:13 -07:00
tools [libpng16] Update CHANGES and ANNOUNCE 2016-09-01 17:28:08 -05:00
visupng [libpng16] tests backported from libpng 1.7 2015-09-15 15:38:52 -07:00
README.txt [libpng16] Update CHANGES and ANNOUNCE 2015-09-25 18:25:08 -05:00

This "contrib" directory contains contributions which are not necessarily under
the libpng license, although all are open source.  They are not part of
libpng proper and are not used for building the library, although some are used
for testing the library via "make check".