Kostya Serebryany
cbcb39932c
properly define PNG_CLEANUP
...
Should fix https://github.com/google/oss-fuzz/issues/809
2017-09-05 14:02:15 -07:00
Glenn Randers-Pehrson
9050c32365
[libpng16] Remove one remaining "png_handler." from contrib/oss-fuzz/*.cc
2017-09-04 16:52:46 -05:00
Glenn Randers-Pehrson
c77de19ba9
[libpng16] Revise contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-09-04 08:22:39 -05:00
Glenn Randers-Pehrson
c2c8b398a9
[libpng16] Imported from libpng-1.6.33beta02.tar
2017-09-02 19:48:19 -05:00
Glenn Randers-Pehrson
62a2463211
[lbipng16] Use current date (DATE) instead of release-date (RDATE) in last
...
changed date of contrib/oss-fuzz files.
2017-09-02 17:17:55 -05:00
Glenn Randers-Pehrson
dcd3edaf87
[libpng16] Restored part of ~PngObjectHandler() that was deleted from
...
contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-09-02 16:13:15 -05:00
Glenn Randers-Pehrson
84a5bf83ff
[libpng16] Nullify all pointers in PNG_CLEANUP of libpng_read_fuzzer.cc
2017-08-31 16:46:15 -05:00
Glenn Randers-Pehrson
f3a22d396a
[libpng16] Trivial reordering of libpng_read_fuzzer.cc
2017-08-31 15:01:25 -05:00
Glenn Randers-Pehrson
47aa798127
[libpng16] Cosmetic changes to contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-30 13:11:16 -05:00
Glenn Randers-Pehrson
5c27e93f51
[libpng16] Bump version to 1.6.33beta02
2017-08-30 07:03:12 -05:00
Glenn Randers-Pehrson
efaf42e5df
[libpng16] Initialize png_handler.row_ptr in
...
contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-30 06:47:55 -05:00
Glenn Randers-Pehrson
d3220babe2
[libpng16] Revised contrib/oss-fuzz/libpng_read_fuzzer.cc
2017-08-29 19:36:49 -05:00
Glenn Randers-Pehrson
58720d3c06
[libpng16] Fix "last changed" dates
2017-08-29 12:29:03 -05:00
Glenn Randers-Pehrson
50d2d49220
[libpng16] Imported from libpng-1.6.33beta01.tar
2017-08-28 18:34:23 -05:00
Glenn Randers-Pehrson
321c24b0d7
[libpng16] Bump version to 1.6.33beta01
2017-08-28 11:30:44 -05:00
Christian Hesse
14a8996fe6
[libpng] Updated PNGMINUS_UNUSED macro and comments in contrib/pngminus/p*.c
2017-08-28 11:28:18 -05:00
Glenn Randers-Pehrson
ef76b1f688
[libpng16] Free row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc PNG_CLEANUP
...
to fix google/oss-fuzz issue 3193.
2017-08-28 11:07:10 -05:00
Glenn Randers-Pehrson
5c616548a0
[libpng16] Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added
...
missing parenthesis in contrib/pngminus/pnm2png.c (bug report by Christian
Hesse).
2017-08-28 07:13:22 -05:00
Glenn Randers-Pehrson
da923d334d
[libpng16] Add calls to png_read_update_info() and png_read_end()
...
to contrib/oss-fuzz/libpng_read_fuzzer.cc, trying to increase coverage.
2017-08-26 20:39:50 -05:00
Glenn Randers-Pehrson
e06ec26906
[libpng16] Revise contrib/oss-fuzz/build.sh links to other oss-fuzz files
2017-08-25 18:56:37 -05:00
Glenn Randers-Pehrson
f6ca33d42c
[libpng16] Bump version to 1.6.33beta01
2017-08-25 18:54:30 -05:00
Glenn Randers-Pehrson
df7e9dae0c
[libpng16] Imported from libpng-1.6.32.tar
2017-08-24 16:39:02 -05:00
Glenn Randers-Pehrson
4760bac13d
[libpng16] Removed mention of the .yaml file in the oss-fuzz README.txt
2017-08-23 21:09:59 -05:00
Glenn Randers-Pehrson
737f347f23
[libpng16] Removed contrib/-ss-fuzz/project.yaml which belongs in
...
google/oss-fuzz/projects/libpng
2017-08-23 21:02:57 -05:00
Glenn Randers-Pehrson
1257369169
[libpng16] Bump version to 1.6.32rc03
2017-08-22 20:06:04 -05:00
Glenn Randers-Pehrson
de315dfaad
[libpng16] Imported from libpng-1.6.32rc02.tar
2017-08-22 16:31:50 -05:00
Glenn Randers-Pehrson
b0d14c7d13
'libpng16] Imported more files into the contrib/oss-fuzz directory
2017-08-22 13:58:59 -05:00
Glenn Randers-Pehrson
735fde494a
[lbpng16] Clarified licensing info in contrib/oss-fuzz/*
2017-08-21 20:34:26 -05:00
Glenn Randers-Pehrson
d2533b96f3
[libpng16] Use png_handler.png_ptr instead of read_ptr in png_set_options(()
2017-08-21 20:19:43 -05:00
Glenn Randers-Pehrson
ddabd0c70a
[libpng16] Added contrib/oss-fuzz directory
2017-08-21 19:14:39 -05:00
Glenn Randers-Pehrson
945759162e
[libpng16] Imported from libpng-1.6.32rc01.tar
2017-08-18 20:01:11 -05:00
Glenn Randers-Pehrson
bcb739a864
[libpng16]Fix several "{" that were written in a different coding style;
...
update version number and copyright year
2017-08-11 10:14:33 -05:00
Glenn Randers-Pehrson
d19e8b9a4b
[libpng16] Renamed chunks in contrib/testpngs/crashers to avoid having files
...
whose names differ only in case; this causes problems with some platforms
(github issue #172 ).
2017-08-11 06:39:26 -05:00
Glenn Randers-Pehrson
c5f801c82b
[libpng16] Fix typo
2017-08-07 14:35:06 -05:00
Glenn Randers-Pehrson
646fad9d55
[libpng16] Check for 0 return from png_get_rowbytes() in contrib/pngminus/*.c
...
to stop some Coverity issues (162705, 162706, and 162707).
2017-08-07 14:22:56 -05:00
Glenn Randers-Pehrson
06ec4252a4
[libpng16] Made the huge_*_chunk.png files smaller. I could have removed the
...
IEND chunks, too, but although no application will read them, they give humans
something to look at.
2017-08-07 13:15:31 -05:00
Glenn Randers-Pehrson
33848546a3
[libpng16] Added contrib/testpngs/crashers/huge-XXXX-chunk.png
2017-08-07 12:27:07 -05:00
Glenn Randers-Pehrson
fa2f72258a
[libpng16] Imported from libpng-1.6.32beta11.tar
2017-08-07 09:44:32 -05:00
Glenn Randers-Pehrson
7653aaa4b1
[libpng16] Rename bad_iccp.png, huge_idat.png to bad_iCCP.png, huge_iDAT.png
...
in the contrib/testpngs/crashers directory.
2017-08-07 07:34:02 -05:00
Glenn Randers-Pehrson
c339da7fc2
[libpng16] Removed JuNK and JuNk chunks from empty_ancillary_chunks.png test file.
2017-08-06 10:52:01 -05:00
Glenn Randers-Pehrson
c33d624988
[libpng] Added huge_IDAT.png and empty_ancillary_chunks.png to testpngs/crashers
...
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
2017-08-05 11:01:18 -05:00
Glenn Randers-Pehrson
378e926d78
[libpng16] Added contrib/testpngs/crashers/bad_iccp.png
2017-08-04 19:29:23 -05:00
Glenn Randers-Pehrson
207392821d
[libpng16] Moved bad pngs from tests to contrib/libtests/crashers
...
Moved testing of bad pngs into a separate tests/pngtest-badpngs script
Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
in the output but PASS for the libpng test.
2017-08-04 14:17:28 -05:00
Glenn Randers-Pehrson
bc68c41d5f
[libpng16] Initialized btoa[] in pngstest.c; stop memory leak in png_handle_eXIf()
...
when returning with an error.
2017-08-01 15:24:21 -05:00
Glenn Randers-Pehrson
68a80b10fe
[libpng16] updated tests/pngunknown-sAPI; it works now.
2017-07-31 20:22:08 -05:00
Glenn Randers-Pehrson
c17b7b38b0
[libpng16] Updated contrib/libtests/pngunknown.c with eXIf chunk. Note:
...
the unknown-sAPI test is failing.
2017-07-31 19:04:15 -05:00
Glenn Randers-Pehrson
9fcb846402
[libpng16] Imported from libpng-1.6.31.tar
2017-07-27 05:27:17 -05:00
John Bowler
72d07d3202
[libpng16] Removed one of the GCC-7.1.0 'strict-overflow' warnings that
...
result when integers appear on both sides of a compare. Worked around the
others by forcing the strict-overflow setting in the relevant functions to
a level where they are not reported.
Changed "FALL THROUGH" comments to "FALLTHROUGH" because GCC doesn't like
the space.
Worked around some C-style casts from (void*) because g++ 5.4.0 objects
to them.
Increased the buffer size for 'sprint' to pass the gcc 7.1.0 'sprint
overflow' check that is on by default with -Wall -Wextra.
2017-07-11 08:47:05 -05:00
Glenn Randers-Pehrson
9f7134c3fc
[libpng16] Update some "last changed" dates
2017-06-29 17:52:18 -05:00
Viktor Szakats
95f3c07d6f
use HTTPS for zlib.net
2017-05-27 13:54:30 +00:00