319c9852bf
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> |
||
---|---|---|
.. | ||
arm-neon | ||
conftest | ||
examples | ||
gregbook | ||
intel | ||
libtests | ||
mips-msa | ||
pngminim | ||
pngminus | ||
pngsuite | ||
testpngs | ||
tools | ||
visupng | ||
README.txt |
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".