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
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
1257369169
[libpng16] Bump version to 1.6.32rc03
2017-08-22 20:06:04 -05:00
Glenn Randers-Pehrson
ba5f7f6a3e
[libpng16] Bump version to 1.6.32rc02
2017-08-22 14:01:00 -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
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
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
fa2f72258a
[libpng16] Imported from libpng-1.6.32beta11.tar
2017-08-07 09:44:32 -05:00
Glenn Randers-Pehrson
cf713fb0ab
[libpng16] Check that the eXIf chunk has at least 2 bytes and begins
...
with "II" or "MM".
2017-08-06 10:24:04 -05:00
Glenn Randers-Pehrson
099558d100
[libpng16] Relocate the iCCP length test to a point after reading the keyword
2017-08-06 08:25:56 -05:00
Glenn Randers-Pehrson
8ed418b042
[libpng16] Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(),
...
to account for the minimum 'deflate' stream.
2017-08-06 07:59:02 -05:00
Glenn Randers-Pehrson
39d84f4f6a
[lbpng16] Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
2017-08-05 20:51:23 -05:00
Glenn Randers-Pehrson
c5c778bcfc
[libpng16] Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
2017-08-05 20:15:52 -05:00
Glenn Randers-Pehrson
1ebe4f75cc
[Libpng16] Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
2017-08-05 19:58:41 -05:00
Glenn Randers-Pehrson
fcd1bb9312
[libpng16] Removed unused chunk_name parameter from png_check_chunk_length().
2017-08-05 15:08:40 -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
0ec733ce61
[libpng16] Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
2017-08-05 08:01:53 -05:00
Glenn Randers-Pehrson
dbdeb1f3fa
[libpng16] Bump version to 1.6.32beta11
2017-08-04 20:09:13 -05:00
Glenn Randers-Pehrson
3d7f3e57b5
[libpng16] Imported from libpng-1.6.32beta10.tar
2017-08-04 20:06:23 -05:00
Glenn Randers-Pehrson
3a957dd96f
[lbipng16] Fix "const" declaration info_ptr argument to png_get_eXIf_1() and the
...
num_exif argument to png_get_eXIf_1() (Github Issue 171).
2017-08-04 16:29:06 -05:00
Glenn Randers-Pehrson
554d4400ab
[libpng16] Fix "const" declaration info_ptr argument to png_get_eXIf_1().
2017-08-04 15:38:41 -05:00
Clifford Yapp
2037030d50
[lbpng16] Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
2017-08-04 14:46:17 -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
2dca15686f
[libpng16] Moved chunk-length check into a png_check_chunk_length() private
...
function (Suggested by Max Stepin).
2017-08-04 14:09:27 -05:00
Glenn Randers-Pehrson
894a9869dd
[libpng16] Bump version to 1.6.32beta10
2017-08-03 18:15:46 -05:00
Glenn Randers-Pehrson
c14be73428
[libpng16] Imported from libpng-1.6.32beta09.tar
2017-08-03 18:15:21 -05:00
Glenn Randers-Pehrson
2dbef2f2a9
[libpng16] Restored IDAT length check. Previously the calculated limit was five
...
bytes too small (neglected to account for a partial DEFLATE buffer)
2017-08-03 18:03:12 -05:00
Glenn Randers-Pehrson
9d4215e6c0
[libpng16] Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
...
no longer using deprecated cmake LOCATION feature (Clifford Yapp).
2017-08-03 16:10:27 -05:00
Glenn Randers-Pehrson
d683af0f12
[libpng16] Temporarily disable IDAT length-limiting.
2017-08-03 16:04:22 -05:00
Glenn Randers-Pehrson
bfdabdacff
[libpng16] Bump version to 1.6.32beta09
2017-08-03 10:57:55 -05:00
Glenn Randers-Pehrson
d930d36155
[libpng16] Restored png_get_eXIf_1() and png_set_eXIf_1() because strlen(eXIf_buf)
...
does not work (the eXIf chunk data can contain zeroes).
2017-08-03 10:29:10 -05:00
Glenn Randers-Pehrson
a1fe2c9848
[libpng16] Check length of IDAT against maximum possible IDAT size, accounting
...
for height, rowbytes, interlacing and zlib/deflate overhead.
2017-08-03 10:01:35 -05:00
Glenn Randers-Pehrson
70041f4038
[libpng16] Bump version to 1.6.32beta08
2017-08-02 19:30:40 -05:00
Glenn Randers-Pehrson
96b65b3644
[libpng16] Imported from libpng-1.6.32beta07.tar
2017-08-02 19:30:21 -05:00
Glenn Randers-Pehrson
347538efbd
[libng16] Check length of all chunks except IDAT against user limit.
2017-08-02 19:21:19 -05:00
Glenn Randers-Pehrson
2b37d46564
[libpng16] Bump version to 1.6.32beta07
2017-08-02 17:32:15 -05:00
Glenn Randers-Pehrson
3fa1df48a1
[libpng16] Removed png_get_eXIf_1() and png_set_eXIf_1().
2017-08-02 17:27:41 -05:00
Glenn Randers-Pehrson
7c709f039f
[libpng16] Restored png_get_eXIf() and png_set_eXIf() to maintain API compatability.
2017-08-02 16:48:11 -05:00
Glenn Randers-Pehrson
821b1dcf34
[libpng16] Bump version to 1.6.32beta04
2017-08-01 22:07:53 -05:00
Glenn Randers-Pehrson
611b29acd8
[libpng16] Imported from libpng-1.6.32beta03.tar
2017-08-01 22:07:34 -05:00
Glenn Randers-Pehrson
71a56180e5
[libpng16] Stop memory leak when returning from png_handle_eXIf() with an error
...
(Bug report from the OSS-fuzz project).
2017-08-01 21:42:16 -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
90d3ff290f
[libpng16] Bump version to 1.6.32beta02
2017-07-31 17:07:42 -05:00
Glenn Randers-Pehrson
3e753f5cbe
[libpng16] Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1()
...
and png_set_eXIf_1(), respectively, to avoid breaking API compatibility
with libpng-1.6.31.
2017-07-31 16:56:30 -05:00
Glenn Randers-Pehrson
40afb68570
[libpng16] Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf()
...
in pngwrite.c, and made various other fixes to png_write_eXIf().
Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
to arguments for png_get_eXIf() and png_set_eXIf().
2017-07-31 14:21:46 -05:00
Glenn Randers-Pehrson
4ab78af90a
[libpng16] Avoid possible NULL dereference in png_handle_eXIf when benign_errors
...
are allowed. Avoid leaking the input buffer "eXIf_buf".
2017-07-30 19:36:25 -05:00
Glenn Randers-Pehrson
b73c891891
[libpng16] Bump version to 1.6.32beta01
2017-07-27 14:18:21 -05:00
Glenn Randers-Pehrson
9fcb846402
[libpng16] Imported from libpng-1.6.31.tar
2017-07-27 05:27:17 -05:00
Glenn Randers-Pehrson
1ed0b3f7ca
[libpng16] Fixed typo in example.c (png_free_image should be png_image_free)
...
(Bug report by John Smith)
2017-07-25 15:32:19 -05:00
Glenn Randers-Pehrson
a354e5c1ff
[libpng16] Imported from libpng-1.6.31rc01.tar
2017-07-19 09:51:35 -05:00
Glenn Randers-Pehrson
db16b27d11
[libpng16] Revised the eXIf chunk in pngtest.png to fix "Bad IFD1 Directory" warning.
2017-07-18 06:41:18 -05:00
Glenn Randers-Pehrson
d2fcc41eec
[libpng16] Imported from libpng-1.6.31beta06.tar
2017-07-17 06:09:30 -05:00
Glenn Randers-Pehrson
cd37210184
[libpng16] Added a minimal eXIf chunk (with Orientation and FocalLengthIn35mmFilm
...
tags) to pngtest.png.
2017-07-16 16:38:01 -05:00
Glenn Randers-Pehrson
a5b6751bbd
[libpng16] Bump version to 1.6.31beta06
2017-07-13 11:28:18 -05:00
Glenn Randers-Pehrson
cd8eb93ecb
[libpng16] Imported from libpng-1.6.31beta05.tar
2017-07-13 11:25:51 -05:00
Glenn Randers-Pehrson
68cb0aaee3
[libpng16] Implement eXIf chunk support
2017-07-13 11:22:48 -05:00
Glenn Randers-Pehrson
40943eb67a
[libpng16] Bump version to 1.6.31beta05
2017-07-11 12:30:36 -05:00
Glenn Randers-Pehrson
f78a3e7326
[libpng16] Imported from libpng-1.6.31beta04.tar
2017-07-11 12:29:53 -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
f2621c5137
[libpng16] Bump version to 1.6.31beta04
2017-07-09 16:31:45 -05:00
Glenn Randers-Pehrson
0a9d2719c5
[libpng16] Added scripts/makefile-linux-opt, which has hardware optimizations
...
enabled.
2017-07-09 16:27:15 -05:00
Glenn Randers-Pehrson
aa6e0482fa
[libpng16] Quieted "declaration after statement" warnings in intel/filter_sse2.c.
2017-07-09 11:51:42 -05:00
Glenn Randers-Pehrson
5cc23552a7
[libpng16]Change "int" to "png_uint_32" in intel/filter_sse2.c to prevent
...
possible integer overflow (Bug report by John Bowler).
2017-07-09 08:26:54 -05:00
Glenn Randers-Pehrson
f16c3406cd
[libpng16] Updated CMakeLists.txt to add INTEL_SSE and MIPS_MSA platforms.
2017-07-08 19:10:49 -05:00
Glenn Randers-Pehrson
918a6ac2b4
[libpng16] Bump version to 1.6.31beta03
2017-07-08 13:26:36 -05:00
Glenn Randers-Pehrson
50b6df5389
[libpng16] Added "--enable-hardware-optimizations" configuration flag to enable
...
or disable all hardware optimizations with one flag.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
to subscribe)
or to glennrp at users.sourceforge.net
Glenn R-P
2017-07-08 12:59:23 -05:00
Glenn Randers-Pehrson
f380ae5243
[libpng16] Added instructions for disabling hardware optimizations in INSTALL.
2017-07-05 19:20:57 -05:00
Glenn Randers-Pehrson
23b51990e3
[libpng16] Bump version to 1.6.31beta02
2017-07-05 06:46:10 -05:00
Glenn Randers-Pehrson
eed9efec4e
[libpng16] Added special case for FreeBSD in arm/filter_neon.S (Maya Rashish).
2017-07-05 05:36:59 -05:00
Glenn Randers-Pehrson
89b8c133e7
[libpng16] Added "Requires: zlib" to libpng.pc.in (Pieter Neerincx).
2017-07-03 10:08:31 -05:00
Glenn Randers-Pehrson
660ce58597
[libpng16] Revised pngpriv.h to work around failure to compile arm/filter_neon.S
...
("typedef" directive is unrecognized by the assembler).
2017-07-01 16:29:42 -05:00
Glenn Randers-Pehrson
145361aaac
[libpng16] Bump version to 1.6.31beta01
2017-06-28 14:39:39 -05:00
Glenn Randers-Pehrson
58649f19cb
[libpng16] Imported from libpng-1.6.30.tar
2017-06-28 13:50:29 -05:00
Glenn Randers-Pehrson
14be73c8a3
[libpng16] Imported from libpng-1.6.30rc02.tar
2017-06-25 13:46:37 -05:00
Glenn Randers-Pehrson
87cd2dc07d
[libpng16] Imported from libpng-1.6.30rc01.tar
2017-06-14 10:11:47 -05:00
Glenn Randers-Pehrson
2d306c4b15
[libpng16] Bump version to 1.6.30beta05
2017-06-06 19:44:20 -05:00
Glenn Randers-Pehrson
5aaf6e889c
[libpng16] Imported from libpng-1.6.30beta04.tar
2017-06-06 19:38:17 -05:00
Glenn Randers-Pehrson
c548328904
[libpng16] Avoid writing an empty IDAT when the last IDAT exactly fills the
...
compression buffer (bug report by Brian Baird). This bug was introduced in
libpng-1.6.0.
2017-06-06 18:40:45 -05:00
Glenn Randers-Pehrson
a315efe3b2
[libpng16] Mention CVE-2016-5737 in CHANGES, update intel "last changed" date
2017-05-24 09:58:09 -05:00
Glenn Randers-Pehrson
6155c6629d
[libpng16] Bump version to 1.6.30beta04
2017-05-22 10:03:26 -05:00
Glenn Randers-Pehrson
d40ac082ef
[libpng16] Imported from libpng-1.6.30beta03.tar
2017-05-22 10:03:04 -05:00
Glenn Randers-Pehrson
a1577bf965
[libpng16] Test CMAKE_HOST_WIN32 instead of WIN32 in CMakeLists.txt
2017-05-18 18:15:50 -05:00
Glenn Randers-Pehrson
30d1f909ed
[libpng16] Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt
2017-05-16 16:12:42 -05:00
Glenn Randers-Pehrson
b99308a33c
[libpng16] Check for integer overflow in contrib/tools/genpng.
2017-04-23 18:41:28 -05:00
Glenn Randers-Pehrson
170a44b222
[libpng16] Check for integer overflow in contrib/visupng.
2017-04-23 17:33:10 -05:00
Glenn Randers-Pehrson
0808d75851
[libpng16] Bump version to 1.6.30beta03
2017-04-22 15:52:24 -05:00
Glenn Randers-Pehrson
60d8ae1003
[libpng16] Removed reference to the obsolete PNG_SAFE_LIMITS macro in
...
the documentation.
2017-04-22 15:45:37 -05:00
Glenn Randers-Pehrson
53f22aed41
[libpng16] Document need to check for integer overflow when allocating a pixel
...
buffer for multiple rows in contrib/gregbook, contrib/pngminus, example.c, and
in the manual (suggested by Jaeseung Choi).
2017-04-22 15:21:58 -05:00
Glenn Randers-Pehrson
13370c536c
[libng16] Update CHANGES about a bugfix in libpng-1.6.27 related to ADLER32
...
handling.
2017-04-16 15:01:42 -05:00
Glenn Randers-Pehrson
ead7079f1d
[libpng16] Bump version to 1.6.30beta02
2017-04-01 11:14:04 -05:00
Glenn Randers-Pehrson
82add753e5
[libpng16] Imported from libpng-1.6.30beta01.tar
2017-04-01 11:08:09 -05:00
Glenn Randers-Pehrson
e744ee1338
[libpng16] Update CHANGES, ANNOUNCE, and "last changed" dates.
2017-03-30 12:24:55 -05:00
Glenn Randers-Pehrson
9b0170dd03
[libpng16] Revised documentation of png_get_error_ptr() in the libpng manual.
2017-03-28 12:38:47 -05:00
Glenn Randers-Pehrson
18834ff62b
[libpng16] Added missing "$(CPPFLAGS)" to the compile line for c.pic.o in
...
makefile.linux and makefile.solaris-x86 (Cosmin).
2017-03-16 12:40:49 -05:00
Glenn Randers-Pehrson
03a6f3f9c9
[libpng16] Bump version to 1.6.30beta01
2017-03-16 10:40:01 -05:00
Glenn Randers-Pehrson
d42e88d5b3
[libpng16] Imported from libpng-1.6.29.tar
2017-03-16 07:26:33 -05:00