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
Glenn Randers-Pehrson
fae874c8ca
[libpng16] Imported from libpng-1.6.29rc01.tar
2017-03-08 17:08:36 -06:00
Glenn Randers-Pehrson
0b1f7e412b
[libpng16] Bump version to 1.6.29beta04
2017-03-01 07:15:58 -06:00
Glenn Randers-Pehrson
7db98a18fe
[libpng16] Suppress clang warnings about implicit sign changes in png.c
2017-03-01 07:09:05 -06:00
Glenn Randers-Pehrson
a7029a5b4c
[libpng16] Change test ZLIB_VERNUM >= 0x1281 to ZLIB_VERNUM >= 0x1290 in
...
pngrutil.c because Solaris 11 distributes zlib-1.2.8.f that is older
than 1.2.8.1.
2017-03-01 06:52:16 -06:00
Glenn Randers-Pehrson
4f31b7f242
[libpng16= Avoid potential overflow of shift operations in png_do_expand() (Aaron Boxer).
2017-02-27 20:17:56 -06:00
Glenn Randers-Pehrson
862a2858b0
[libpng16] Bump version to 1.6.29beta03
2017-02-22 14:41:30 -06:00
Glenn Randers-Pehrson
f6d358ff42
[libpng16] Update CHANGES and ANNOUNCE
2017-02-21 20:45:49 -06:00
Glenn Randers-Pehrson
5e8c50cc8d
[libpng16] Update CHANGES and ANNOUNCE
2017-02-21 20:11:47 -06:00
Glenn Randers-Pehrson
f604c74a5f
[libpng16] Avoid conditional directives that break statements in pngrutil.c (Romero
...
Malaquias)
2017-01-20 14:46:21 -06:00
Glenn Randers-Pehrson
ae794eefaa
[libpng16] Bump version to 1.6.29beta02
2017-01-12 17:52:05 -06:00
Glenn Randers-Pehrson
4c0740c8de
[libpng16] Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).
2017-01-12 09:48:12 -06:00
Glenn Randers-Pehrson
bef76802de
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-sse" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it. This patch was
previously applied to libpng-1.6.28rc03 but withdrawn to allow time for QA.
2017-01-05 18:09:33 -06:00
Glenn Randers-Pehrson
ebede25ceb
[libpng16] Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco
...
Costamagna).
2017-01-05 11:51:54 -06:00
Glenn Randers-Pehrson
4ddac468c4
[libpng16] Bump version to 1.6.29beta01
2017-01-05 11:37:54 -06:00
Glenn Randers-Pehrson
17ad597dba
[libpng16] Imported from libpng-1.6.28.tar
2017-01-05 07:59:36 -06:00
Glenn Randers-Pehrson
93b3476358
[libpng16] Imported from libpng-1.6.28rc03.tar
2017-01-03 22:25:10 -06:00
Glenn Randers-Pehrson
562751dcc9
[libpng16] Fix typo in CHANGES: it should say "configure --enable-intel-sse"
...
to enable the SSE optimization
2017-01-03 19:32:33 -06:00
Glenn Randers-Pehrson
edef058e18
[libpng16] Moved SSE2 optimization code into the main libpng source directory.
...
Configure libpng with "configure --enable-intel-see" or compile
libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
2017-01-03 19:15:15 -06:00
Glenn Randers-Pehrson
24dfd3f2d7
[libpng16] Imported from libpng-1.6.28rc01.tar
2017-01-03 12:51:38 -06:00
Glenn Randers-Pehrson
f8bdbd4d8f
[libpng16] Changed png_ptr->options from a png_byte to png_uint_32, to
...
accomodate up to 16 options.
2017-01-02 19:03:36 -06:00
Glenn Randers-Pehrson
f981826204
[libpng16] Update CHANGES and ANNOUNCE with recent CMakeLists.txt update.
2017-01-02 09:40:23 -06:00
Glenn Randers-Pehrson
dd8aa3e939
[libpng16] Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna)
2016-12-31 13:03:23 -06:00
Glenn Randers-Pehrson
aa5bb2c3dd
[libpng16] Clean up LICENSE, mention CVE-2016-10087 in CHANGES.
2016-12-30 14:00:19 -06:00
Glenn Randers-Pehrson
b9b490c7f5
[libpng16] Bump version to 1.6.28beta01
2016-12-30 08:29:24 -06:00
Glenn Randers-Pehrson
e9c3d83d5a
[libpng16] Bump version to 1.6.27
2016-12-29 07:52:43 -06:00
Glenn Randers-Pehrson
812768d7a9
[libpng16] Fixed a potential null pointer dereference in png_set_text_2()
...
(bug report and patch by Patrick Keshishian).
2016-12-29 07:52:27 -06:00
Glenn Randers-Pehrson
a3b5edc934
[libpng16] Bump version to 1.6.27
2016-12-29 07:50:33 -06:00
Glenn Randers-Pehrson
fd3a683b2a
[libpng16] Add CHANGES entry about CMakeLists.txt ARM support
2016-12-27 11:14:18 -06:00
Glenn Randers-Pehrson
61a9a054fd
[libpng16] Imported from libpng-1.6.27rc01.tar
2016-12-27 08:24:22 -06:00
Glenn Randers-Pehrson
4708ca268e
[libpng16] Update CHANGES and ANNOUNCE
2016-12-26 19:44:25 -06:00
Glenn Randers-Pehrson
dbb5fce3d8
[libpng16] Control ADLER32 checking with new PNG_IGNORE_ADLER32 option.
2016-12-26 18:00:46 -06:00
Glenn Randers-Pehrson
d65a92b951
[libpng16] Revert ADLER32 error handling in pngrutil.c and pngpread.c.
2016-11-08 16:04:08 -06:00
Glenn Randers-Pehrson
a69dd76eac
[libpng16] Bump version to 1.6.27beta02
2016-11-02 17:54:15 -05:00
Glenn Randers-Pehrson
e36003e9b8
[libpng16] Imported from libpng-1.6.27beta01.tar
2016-11-02 17:37:21 -05:00
Glenn Randers-Pehrson
2accfbd6f3
[libpng16] Restrict the new ADLER32-skipping to IDAT chunks. It broke iCCP
...
chunk handling.
2016-10-28 15:50:46 -05:00
Glenn Randers-Pehrson
858cb585d7
[libpng16] Bump version to 1.6.27beta01
2016-10-28 15:25:26 -05:00
Glenn Randers-Pehrson
0c440812db
[libpng16] Imported from libpng-1.6.26.tar
2016-10-19 19:11:38 -05:00
Glenn Randers-Pehrson
436ce2c6e9
[libpng16] Bump version to 1.6.26rc02
2016-10-17 12:46:41 -05:00
Glenn Randers-Pehrson
01e99bbac1
[libpng16] Imported from libpng-1.6.26rc01.tar
2016-10-12 08:16:13 -05:00
Glenn Randers-Pehrson
dd6d7f031f
[libpng16] Bump version to 1.6.26beta07
2016-10-07 15:57:32 -05:00
Glenn Randers-Pehrson
a106899acd
[libpng16] Use zlib-1.2.8.1 inflateValidate() instead of inflateReset2() to
...
avoid ADLER32 evaluation.
2016-10-07 13:33:50 -05:00
Glenn Randers-Pehrson
ffaeff82d3
[libpng16] Bump version to 1.6.26beta06
2016-10-05 19:43:55 -05:00
Glenn Randers-Pehrson
13bdd8bcdf
[libpng16] Imported from libpng-1.6.26beta05.tar
2016-10-05 19:43:35 -05:00
Glenn Randers-Pehrson
7d7694ae6a
[libpng16] Changed integer constant 4294967294 to unsigned 4294967294U in pngconf.h
...
to avoid a signed/unsigned compare in the preprocessor.
2016-10-05 09:23:08 -05:00
Glenn Randers-Pehrson
b3540f9932
[libpng16] Bump version to 1.6.26beta05
2016-10-03 12:31:18 -05:00
Glenn Randers-Pehrson
a5084f1522
[libpng16] Imported from libpng-1.6.26beta04.tar
2016-10-03 12:31:06 -05:00
Glenn Randers-Pehrson
f6497e03d1
i[lbpng16] Quieted (bogus?) clang warnings about "absolute value has no effect".
...
Fixed offsets in contrib/intel/intel_sse.patch
2016-10-02 20:07:22 -05:00
Glenn Randers-Pehrson
b7b59b7fe9
[libpng16] Bump version to 1.6.26beta04
2016-10-02 19:18:29 -05:00
Glenn Randers-Pehrson
ce45f85c61
[lbpng16] Removed contrib/libtests/*.orig and *.rej that slipped into the
...
tarballs.
2016-10-02 19:03:57 -05:00
Glenn Randers-Pehrson
761d833372
[libpng16] Quieted all remaining -Wconversion compiler warnings
2016-10-02 18:46:35 -05:00
Glenn Randers-Pehrson
3875d9af4c
[libpng16] Quieted 45 (out of 86 remaining) -Wconversion compiler warnings
2016-10-02 17:08:46 -05:00
Glenn Randers-Pehrson
ad3318ddc8
[libpng16] Bump version to 1.6.26beta03
2016-10-01 19:44:42 -05:00
Glenn Randers-Pehrson
c180e7a437
[libpng16] Updated CHANGES and ANNOUNCE
2016-09-30 21:54:06 -05:00
Glenn Randers-Pehrson
b5b77a72b4
Revert "[libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c,"
...
This reverts commit 97dfccb632
.
2016-09-30 21:34:21 -05:00
Glenn Randers-Pehrson
97dfccb632
[libpng16] Quieted about 100 warnings from clang-3.8 in pngtrans.c, pngread.c,
...
pngwrite.c, pngunknown.c, and pngvalid.c. Several warnings still remain
in pngvalid.c
2016-09-30 21:02:03 -05:00
Glenn Randers-Pehrson
1b363fa6b0
[libpng16] Quieted 116 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU and trivial changes
in png.c, pngread.c, and pngwutil.c.
2016-09-30 17:19:12 -05:00
Glenn Randers-Pehrson
fa24421216
[libpng16] Quieted 74 (out of 288) -Wconversion compiler warnings by changing
...
flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU.
2016-09-30 16:26:07 -05:00
Glenn Randers-Pehrson
d84fd77bf8
[libpng16] Quieted a warning from clang-3.8 in pngtrans.c.
2016-09-30 14:22:57 -05:00
Glenn Randers-Pehrson
04dab1e82d
[libpng16] Updated the documentation about CRC and ADLER32 handling.
2016-09-26 11:15:22 -05:00
Glenn Randers-Pehrson
394be58371
[libpng16] Bump version to 1.6.26beta02
2016-09-26 08:58:04 -05:00
Glenn Randers-Pehrson
8aa1638ccc
[libpng16] Add tests/badcrc.png and tests/badadler.png to tests/pngtest.
...
Merged pngtest.c with libpng-1.7.0beta84/pngtest.c
2016-09-26 08:09:44 -05:00
Glenn Randers-Pehrson
89ea081433
[libpng16] If CRC handling of critical chunks has been set to PNG_CRC_QUIET_USE,
...
ignore the ADLER32 checksum in the IDAT chunk as well as the chunk CRCs.
2016-09-25 17:42:15 -05:00
Glenn Randers-Pehrson
7835716cef
[libpng16] Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngpriv.h, pngstruct.h,
...
and pngrutil.c.
2016-09-19 16:46:54 -05:00
Glenn Randers-Pehrson
1842d7c865
[libpng16] Issue a png_benign_error instead of a png_error on ADLER32 mismatch
...
while decoding compressed data chunks.
2016-09-11 22:02:05 -05:00
Glenn Randers-Pehrson
bc2bb96cd7
[libpng16] Conditionally compile png_set_benign_errors() in pngread.c
2016-09-11 19:22:28 -05:00
Glenn Randers-Pehrson
5cb1700702
[libpng16] Update CHANGES and ANNOUNCE and last-changed date in pngset.c
2016-09-03 11:51:29 -05:00
Glenn Randers-Pehrson
90ea4af4a1
[libpng16] Update CHANGES and ANNOUNCE
2016-09-01 17:28:08 -05:00
Glenn Randers-Pehrson
c9d7b865b6
[libpng16] Bump version to 1.6.26beta01
2016-08-31 23:19:25 -05:00
Glenn Randers-Pehrson
e3a6631123
[libpng16] Imported from libpng-1.6.25.tar
2016-08-31 22:30:47 -05:00
Glenn Randers-Pehrson
434aecf327
[libpng16] Bump version to 1.6.25rc06
2016-08-30 11:21:11 -05:00
Glenn Randers-Pehrson
abd88841ef
[libpng16] Imported from libpng-1.6.25rc05.tar
2016-08-30 11:15:49 -05:00
Glenn Randers-Pehrson
42e5441888
[libpng16] Bump version to 1.6.25rc05
2016-08-30 10:46:51 -05:00
Glenn Randers-Pehrson
4ade4e8a0d
[libpng16] Updated CHANGES and ANNOUNCE
2016-08-30 04:26:29 -05:00
Glenn Randers-Pehrson
2e2330bf25
[libpng16] Bump version to 1.6.25rc04
2016-08-29 16:15:28 -05:00
Glenn Randers-Pehrson
0a2d496d58
[libpng16] Imported from libpng-1.6.25rc03.tar
2016-08-29 16:10:33 -05:00
Glenn Randers-Pehrson
000f07bfbe
[libpng16] Bump version to 1.6.25rc03
2016-08-29 10:57:26 -05:00
Glenn Randers-Pehrson
05a4db1fcd
[libpng16] Update CHANGES, ANNOUNCE with entry about MIPS support
2016-08-29 09:13:09 -05:00
Glenn Randers-Pehrson
143434ac78
[libpng16] Bump version to 1.6.25beta03
2016-08-18 12:23:08 -05:00
Glenn Randers-Pehrson
4dc4b2efac
[libpng16] Imported from libpng-1.6.25beta02.tar
2016-08-18 12:17:31 -05:00
Glenn Randers-Pehrson
9cab7a24fd
[libpng16] Minor editing of INSTALL, (whitespace, added copyright line)
2016-08-17 06:39:26 -05:00
Glenn Randers-Pehrson
39df0ced18
[libpng16] Don't install pngcp; it conflicts with pngcp in the pngtools package.
...
Moved it from bin_PROGRAMS to check_PROGRAMS in Makefile.am so it will be
built but not installed.
2016-08-13 21:23:42 -05:00
Glenn Randers-Pehrson
2705f55221
[libpng16] Bump version to 1.6.25beta02
2016-08-12 07:05:46 -05:00
Glenn Randers-Pehrson
8ff2ed2fe1
[libng16] Conditionally compile png_inflate(). It's not needed for iCCP
...
chunk reading.
2016-08-11 20:13:33 -05:00
Glenn Randers-Pehrson
6bdaf38d12
[libpng16] Revert change to png_malloc_array(). It's not needed
...
now that iCCP profile_length honors PNG_USER_CHUNK_MALLOC_MAX.
2016-08-10 22:26:12 -05:00
Glenn Randers-Pehrson
e018ab98be
Merge branch 'libpng16' of git://github.com/jbowler/libpng into libpng16
2016-08-10 20:49:48 -05:00
John Bowler
92a7c79db2
[libpng16] Reject oversized iCCP profile length
...
The code now validates the ICC profile length against the user chunk limit
before the buffer is allocated, as opposed to doing it while the buffer is read.
This removes the potential to consume virtual address space with a carefully
crafted ICC profile; only an issue on 32-bit systems where a valid profile can
be up to 2^32-4 bytes in length. libpng never writes beyond the application
supplied limit, but previously it did allocate a buffer of the size specified in
the profile header. The exploitability of this is almost zero; the address
space is released as soon as the PNG read completes.
Also clean up PNG_DEBUG compile of pngtest.c.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-08-10 15:35:09 -07:00
Glenn Randers-Pehrson
19fefd3a4b
[libpng16] Return NULL from png_malloc_array() with a warning instead of calling
...
png_error() on failure. Reject oversized iCCP profile immediately.
2016-08-10 12:09:22 -05:00
Glenn Randers-Pehrson
cdc0e74ee6
[libpng16] Bump version to 1.6.25beta01
2016-08-03 21:59:27 -05:00
Glenn Randers-Pehrson
b50d5cea2b
[libpng16] Imported from libpng-1.6.24.tar
2016-08-03 21:32:26 -05:00
Glenn Randers-Pehrson
3d3c23b39f
[libpng16] Bump version to 1.6.24rc04
2016-08-02 12:58:15 -05:00
Glenn Randers-Pehrson
96db0fff50
[libpng16] Conditionally compile ARM_NEON headers in pngpriv.h
...
Updated contrib/intel/intel_sse.patch
2016-08-02 09:31:05 -05:00
Glenn Randers-Pehrson
99663e95f8
[libpng16] Bump version to 1.6.24rc03
2016-08-01 18:00:51 -05:00
Glenn Randers-Pehrson
8d091a640b
[libpng16] Conditionally compile png_decompress_chunk().
2016-08-01 17:50:42 -05:00
Glenn Randers-Pehrson
2c0b7a8ff6
[libpng16] Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
2016-07-31 21:22:06 -05:00
Glenn Randers-Pehrson
faa3e537e1
[libpng16] Imported from libpng-1.6.24rc01.tar
2016-07-25 07:53:38 -05:00
Glenn Randers-Pehrson
d1f9149d8a
[libpng16] Bump version to 1.6.24beta07
2016-07-19 17:01:50 -05:00
Glenn Randers-Pehrson
ee079481c9
[libpng16] Imported from libpng-1.6.24beta06.tar
2016-07-19 17:00:00 -05:00
Glenn Randers-Pehrson
639b48625f
[libpng16] Eliminated unnecessary tests of boolean png_isaligned() vs 0.
2016-07-15 17:22:10 -05:00
Glenn Randers-Pehrson
dd70604cec
[libpng16] Fixed more indentation
2016-07-15 11:20:46 -05:00
Glenn Randers-Pehrson
34c783e2fe
[libpng16] Fix permission on reindent; add license info to contrib/tools/chkfmt
2016-07-14 18:53:30 -05:00
Glenn Randers-Pehrson
baed0e32f9
[libpng16] Bump version to 1.6.24beta06
2016-07-14 09:55:45 -05:00
Glenn Randers-Pehrson
192e92d681
[libpng16] Fixed some indentation to comply with our coding style.
2016-07-13 14:43:42 -05:00
Glenn Randers-Pehrson
1b9f4817c8
[libpng16] Bump version to 1.6.24beta05
2016-07-08 10:14:50 -05:00