John Bowler
a21a5b22c1
[libpng16] Fixed rgb_to_gray checks and added tRNS checks to pngvalid.c
2015-03-30 21:38:31 -05:00
Glenn Randers-Pehrson
d344589703
[libpng16] Removed PNG_SET_CHUNK_[CACHE|MALLOC]_LIMIT_SUPPORTED macros. They
...
have been combined with PNG_SET_USER_LIMITS_SUPPORTED (resolves
bug report by Andrew Church).
2015-03-27 08:58:32 -05:00
Glenn Randers-Pehrson
218a6fe9e5
[libpng16] Bump version to 1.6.18beta01
2015-03-26 08:55:25 -05:00
Glenn Randers-Pehrson
c98f7fb4e3
[libpng16] Imported from libpng-1.6.17.tar
2015-03-26 08:11:12 -05:00
John Bowler
6eecfe3886
[libpng16] Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha
...
value was wrong. It's not clear if this affected the final stored
value; in the obvious code path the upper and lower 8-bits of the
alpha value were identical and the alpha was truncated to 8-bits
rather than dividing by 257 (John Bowler).
2015-03-22 19:42:14 -05:00
Glenn Randers-Pehrson
ea037b01eb
[libpng16] Remove pnglibconf.dfn and pnglibconf.pre with "make clean".
2015-03-21 15:47:39 -05:00
Glenn Randers-Pehrson
04445235f1
[libpng16] Bump version to 1.6.17rc06
2015-03-21 12:11:10 -05:00
Glenn Randers-Pehrson
c5370ede95
[libpng16] Reverted "& 0xff" additions of version 1.6.17beta01. Libpng passes
...
the Coverity scan without them.
2015-03-21 11:54:32 -05:00
John Bowler
2b66107abb
[libpng16] Define PNG_FILTER_* and PNG_FILTER_VALUE_* in png.h even when WRITE
...
is not supported (John Bowler). This fixes an error introduced in
libpng-1.6.17beta06.
2015-03-17 21:32:27 -05:00
Glenn Randers-Pehrson
0aabfe2a4c
[libpng16] Bump version to 1.6.17rc05
2015-03-17 08:14:23 -05:00
John Bowler
c9fd075c89
[libpng16] Fix bug in calculation of maxbits, in png_write_sBIT, introduced
...
in libpng-1.6.17beta01 (John Bowler).
2015-03-16 16:31:13 -05:00
Cosmin Truta
47e1315459
[libpng16] Remove pnglibconf.h, pnglibconf.c, and pnglibconf.out instead of
...
pnglibconf.* in "make clean" (Cosmin).
2015-03-15 17:04:17 -05:00
Glenn Randers-Pehrson
49fa8d4cdd
[libpng16] Bump version to 1.6.17rc04
2015-03-12 09:24:49 -05:00
Glenn Randers-Pehrson
f2c37d0abf
[libpng16] Updated CMakeLists.txt to add OSX framework, change YES/NO to ON/OFF
...
for consistency, and remove some useless tests (Alexey Petruchik).
2015-03-12 06:48:01 -05:00
Glenn Randers-Pehrson
3645008e22
[libpng16] Free the unknown_chunks structure even when it contains no data.
2015-03-09 09:13:58 -05:00
Glenn Randers-Pehrson
06ee532286
[libpng16] Reverted new test on unknown chunk location; it was bogus.
2015-03-08 08:00:45 -05:00
Glenn Randers-Pehrson
217d38cdea
[libpng16] Stopped a potential memory leak in png_set_unknown_chunks(). Breaks
...
tests/pngunknown-sAPI so it's temporarily marked SKIP.
2015-03-07 10:35:03 -06:00
Glenn Randers-Pehrson
377fb53944
[libpng16] Removed some comments that the configure script did not handle
...
properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
2015-03-05 20:59:31 -06:00
Glenn Randers-Pehrson
7f85da8df7
[libpng16] Imported from libpng-1.6.17rc02.tar
2015-03-05 20:54:07 -06:00
Glenn Randers-Pehrson
3e0bef6da4
[libpng16] Imported from libpng-1.6.17rc01.tar
2015-03-04 11:19:32 -06:00
Glenn Randers-Pehrson
82511341d7
[libpng16] Bump version to 1.6.17beta07
2015-02-27 19:20:37 -06:00
Sergey Kosarevsky
9a3de48b48
[libpng16] Avoid runtime checks when converting integer to png_byte with
...
Visual Studio (Sergey Kosarevsky)
2015-02-27 18:47:43 -06:00
Glenn Randers-Pehrson
3f49c1e42a
[libpng16] Bump version to 1.6.17beta06
2015-02-25 15:42:16 -06:00
Glenn Randers-Pehrson
68f4ea7423
[libpng16] Imported from libpng-1.6.17beta05.tar
2015-02-25 15:17:40 -06:00
Glenn Randers-Pehrson
76f93293a0
[libpng16] Bump version to 1.6.17beta05
2015-02-21 12:49:38 -06:00
Glenn Randers-Pehrson
d375ca5e0d
[libpng16] Imported from libpng-1.6.17beta04.tar
2015-02-21 12:49:25 -06:00
Glenn Randers-Pehrson
60a7506744
[libpng16]Allow calling png_get_IHDR() with NULL arguments (Reuben Hawkins).
2015-02-18 12:24:46 -06:00
Glenn Randers-Pehrson
d3ff44f0d5
[libpng16] Added PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED macro, on by default.
2015-02-17 21:06:23 -06:00
Glenn Randers-Pehrson
43d90b1610
[libpng16] Bump version to 1.6.17beta04
2015-02-17 10:52:33 -06:00
Glenn Randers-Pehrson
4b65a89cf4
[libpng16] Eliminated PNG_SAFE_LIMITS macro and restored the 1-million-column
...
and 1-million-row default limits in pnglibconf.dfa, that can be reset
by the user at build time or run time. This provides a more robust
defense against DOS and as-yet undiscovered overflows.
Display user limits in the output from pngtest.
2015-02-16 22:52:07 -06:00
Glenn Randers-Pehrson
471b38aa00
[libpng16] Bump version to 1.6.17beta03
2015-02-07 09:16:17 -06:00
Glenn Randers-Pehrson
8cd78da8b3
[libpng16] Do not build png_product2() when it is unused.
...
Work around more Coverity-scan dead-code warnings.
2015-02-07 09:03:30 -06:00
Glenn Randers-Pehrson
c73d6219f2
[libpng16] Bump version to 1.6.17beta02
2015-01-28 19:20:51 -06:00
Glenn Randers-Pehrson
bd76965879
[libpng16] Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
...
pngset.c to avoid warnings about dead code.
2015-01-27 06:53:56 -06:00
Glenn Randers-Pehrson
7a015b92b2
[libpng16] Update "last changed" comment in pngset.c
2015-01-13 09:41:25 -06:00
Glenn Randers-Pehrson
2f56fe4071
[libpng16] Made the check for out-of-range values in png_set_tRNS() detect
...
values that are exactly 2^bit_depth, and work on 16-bit platforms.
2015-01-13 09:25:48 -06:00
Glenn Randers-Pehrson
9d6cab3b21
[libpng16] Updated recent CVE numbers in CHANGES file.
2015-01-10 19:18:17 -06:00
Glenn Randers-Pehrson
018b4fccb9
[libpng16] Happy New Year! Update copyright year.
2014-12-31 18:45:23 -06:00
John Bowler
b6788ccaff
[libpng16] Implement previously untested libpng transforms in pngvalid.c
2014-12-29 16:31:58 -06:00
John Bowler
cde8cd6b30
[libpng16] Fixed byte order in 2-byte filler, in png_do_read_filler().
2014-12-29 16:24:33 -06:00
John Bowler
19ec55f40e
[libpng16] Added testing of png_set_packing() to pngvalid.c
2014-12-27 19:10:04 -06:00
John Bowler
6a6eb354ff
[libpng16] Removed user limits from pngfix. Also pass NULL pointers to
...
png_read_row to skip the unnecessary row de-interlace stuff.
2014-12-24 18:54:08 -06:00
Glenn Randers-Pehrson
6b5abbe58e
[libpng16] Corrected the width limit calculation in png_check_IHDR().
2014-12-23 14:33:02 -06:00
Glenn Randers-Pehrson
66c1ec5a26
[libpng16] Removed duplicate PNG_SAFE_LIMITS_SUPPORTED handling from pngconf.h
2014-12-23 14:18:36 -06:00
Glenn Randers-Pehrson
ecd074945c
[libpng16] Bump version to 1.6.17beta01
2014-12-21 22:56:42 -06:00
Glenn Randers-Pehrson
88dd30b232
[libpng16] Imported from libpng-1.6.16.tar
2014-12-21 21:53:00 -06:00
John Bowler
dc294204b6
[libpng16] Fixed an overflow in png_combine_row with very wide interlaced
...
images.
2014-12-21 17:11:33 -06:00
Glenn Randers-Pehrson
06ee38423b
[libpng16] Imported from libpng-1.6.16rc02.tar
2014-12-21 13:54:45 -06:00
Glenn Randers-Pehrson
6d8c88177a
[libpng16] Imported from libpng-1.6.16rc01.tar
2014-12-21 09:18:15 -06:00
Glenn Randers-Pehrson
f43b5e3709
[libpng16] Imported from libpng-1.6.16beta03.tar
2014-12-20 19:21:32 -06:00
John Bowler
a00ea0aeae
[libpng16] Quiet a "comparison always true" warning in pngstest.c (John Bowler).
2014-12-16 19:18:06 -06:00
Glenn Randers-Pehrson
0659cddd21
[libpng16] Bump version to 1.6.16beta03
2014-12-14 19:42:05 -06:00
Glenn Randers-Pehrson
66d846b0cc
[libpng16] Imported from libpng-1.6.16beta02.tar
2014-12-14 19:24:00 -06:00
John Bowler
d040886dc4
[libpng16] Revised handling of scripts/*.dfn; renamed them to scripts/*.c
2014-12-14 19:17:56 -06:00
Glenn Randers-Pehrson
91f9e0370d
[libpng16] Bump version to 1.6.16beta02
2014-12-14 12:43:12 -06:00
Bob Friesenhahn
530eec311d
[libpng16] Revised Makefile.am and scripts/symbols.dfn to work with MinGW/MSYS
2014-12-14 12:37:12 -06:00
Glenn Randers-Pehrson
ee16fc4a6f
[libpng16] Added ".align 2" to arm/filter_neon.S to support old GAS assemblers
...
that don't do alignment correctly.
2014-11-29 16:27:27 -06:00
Glenn Randers-Pehrson
2d24cbdd98
[libpng16] Bump version to 1.6.16beta01
2014-11-21 08:25:32 -06:00
Glenn Randers-Pehrson
e8ef689cb9
[libpng16] Imported from libpng-1.6.15.tar
2014-11-20 10:22:57 -06:00
Cosmin Truta
5b9ac20297
[libpng16] Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in
...
scripts/makefile.vcwin32.
Removed the obsolete $ARCH variable from scripts/makefile.darwin.
2014-11-16 19:37:42 -06:00
Glenn Randers-Pehrson
9c05216461
[libpng16] Fix typos in ANNOUNCE and CHANGES
2014-11-14 17:59:40 -06:00
Glenn Randers-Pehrson
d4965b4014
[libpng16] Imported from libpng-1.6.15rc02.tar
2014-11-14 09:51:59 -06:00
Cosmin Truta
b8eb945946
[libpng16] The macros passed in the command line to Borland make were ignored if
...
similarly-named macros were already defined in makefiles. This behavior
is different from POSIX make and other make programs. Surround the
macro definitions with ifndef guards (Cosmin).
2014-11-14 09:47:54 -06:00
Glenn Randers-Pehrson
6df21524cd
[libpng16] Imported from libpng-1.6.15rc01.tar
2014-11-13 06:47:08 -06:00
Glenn Randers-Pehrson
fa49aae286
[libpng16] Imported from libpng-1.6.15beta08.tar
2014-11-08 09:08:03 -06:00
Glenn Randers-Pehrson
05e11008c0
[libpng16] More "#endif" housecleaning, in *.h
2014-11-07 07:41:16 -06:00
Glenn Randers-Pehrson
40656e9855
[libpng16] Bump version to 1.6.15beta08
2014-11-07 06:45:39 -06:00
Glenn Randers-Pehrson
70cb8f9a7e
[libpng16] Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is
...
needed by png_reciprocal2().
Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and
png_do_swap().
2014-11-06 20:58:33 -06:00
Glenn Randers-Pehrson
674c3e5816
[libpng16] Bump version to 1.6.15beta07
2014-11-06 07:37:32 -06:00
Glenn Randers-Pehrson
61ea3eacb0
[libpng16] Reverted use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING
...
in the manual, example.c, pngtest.c, and applications in the contrib directory.
It was incorrect advice.
2014-11-06 06:39:56 -06:00
Glenn Randers-Pehrson
8e7c35fc81
[libpng16] Bump version to 1.6.15beta06
2014-11-05 19:08:08 -06:00
John Bowler
03df189954
[libpng16] Fixed array size calculations to avoid warnings. At various points
...
in the code the number of elements in an array is calculated using
sizeof. This generates a compile time constant of type (size_t) which
is then typically assigned to an (unsigned int) or (int). Some versions
of GCC on 64-bit systems warn about the apparent narrowing, even though
the same compiler does apparently generate the correct, in-range,
numeric constant. This adds appropriate, safe, casts to make the
warnings go away.
2014-11-05 17:19:36 -06:00
Glenn Randers-Pehrson
a2fe24d186
[libpng16] Simplified and future-proofed png_user_version_check().
2014-11-05 12:00:32 -06:00
Glenn Randers-Pehrson
97dd654ba4
[libpng16] Avoid out-of-bounds memory access in png_user_version_check().
2014-11-05 09:22:19 -06:00
Glenn Randers-Pehrson
f1b547a509
[libpng16] Use png_get_libpng_ver(NULL), not PNG_LIBPNG_VER_STRING
2014-11-04 23:33:46 -06:00
Glenn Randers-Pehrson
5efb1327df
[libpng16] Bump version to 1.6.15beta05
2014-11-04 07:08:37 -06:00
John Bowler
445475a166
[libpng16] Removed new PNG_USE_ARM_NEON configuration flag and made a one-line
...
revision to configure.ac to support ARM on aarch64 instead (John Bowler).
2014-11-03 19:44:39 -06:00
Glenn Randers-Pehrson
2eb712e519
[libpng16] Bump version to 1.6.15beta04
2014-11-03 09:33:51 -06:00
Glenn Randers-Pehrson
3278452323
[libpng16] Added PNG_USE_ARM_NEON configuration flag (Marcin Juszkiewicz).
2014-11-03 08:24:34 -06:00
Glenn Randers-Pehrson
bd3818eb1b
[libpng16] Bump version to 1.6.15beta03
2014-11-01 18:59:15 -05:00
Glenn Randers-Pehrson
5d713fe123
[libpng16] Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" to
...
"if (x !== 0)"
2014-10-31 20:58:40 -05:00
Glenn Randers-Pehrson
6b9a20e7f9
[libpng16] Bump version to 1.6.15beta02
2014-10-29 09:13:06 -05:00
Glenn Randers-Pehrson
c6a8cb7d10
[libpng16] Added missing "ptr = NULL" after some instances of png_free().
2014-10-29 08:27:34 -05:00
Glenn Randers-Pehrson
bf95fad5f5
[libpng16] Simplified png_free_data() in png.c
2014-10-26 21:09:03 -05:00
Glenn Randers-Pehrson
ebba0746bc
[libpng16] Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x !== 0)"
2014-10-25 12:22:39 -05:00
Glenn Randers-Pehrson
56e9307d8f
[libpng16] Bump version to 1.6.15beta01
2014-10-22 21:02:27 -05:00
Glenn Randers-Pehrson
edb772fd6d
[libpng16] Imported from libpng-1.6.14.tar
2014-10-22 19:32:52 -05:00
Glenn Randers-Pehrson
8ba743d8d2
[libpng16] Bump version to 1.6.14rc03
2014-10-17 09:15:50 -05:00
Glenn Randers-Pehrson
279205664f
[libpng16] Imported from libpng-1.6.14rc02.tar
2014-10-17 09:09:54 -05:00
Glenn Randers-Pehrson
3922544139
[libpng16] Bump version to 1.6.14rc01
2014-10-15 08:55:59 -05:00
Glenn Randers-Pehrson
bea9784db0
[libpng16] Imported from libpng-1.6.14rc01.tar
2014-10-15 08:36:22 -05:00
Glenn Randers-Pehrson
06ec570881
[libpng16] Bump version to 1.6.14beta08
2014-10-07 18:57:36 -05:00
Glenn Randers-Pehrson
25d240dc6e
[libpng16] Imported from libpng-1.6.14beta07.tar
2014-10-07 18:57:21 -05:00
Glenn Randers-Pehrson
a11cd84160
[libpng16] Only mark text chunks as written after successfully writing them.
2014-10-05 13:45:38 -05:00
Glenn Randers-Pehrson
f56c00f050
[libpng16] Bump version to 1.6.14beta07
2014-10-05 07:48:53 -05:00
Glenn Randers-Pehrson
f1a22bf9b3
[libpng16] Imported from libpng-1.6.14beta06.tar
2014-10-05 07:48:44 -05:00
Glenn Randers-Pehrson
a4fa1c57f4
[libpng16] Added "chunk iTXt enables TEXT" and "chunk zTXt enables TEXT"
...
to pnglibconf.dfa.
2014-10-04 12:38:47 -05:00
Glenn Randers-Pehrson
27f0332cae
[libpng16] Replaced repeated code with PNG_PUSH_SAVE_BUFFER_IF_FULL
...
in pngpread.c
2014-10-04 10:28:58 -05:00
Glenn Randers-Pehrson
cb4823d91f
[libpng16] Conditionally compile some code in png_deflate_claim(), when
...
PNG_WARNINGS_SUPPORTED and PNG_ERROR_TEXT_SUPPORTED are disabled.
2014-10-03 17:14:39 -05:00
Glenn Randers-Pehrson
d752225d05
[libpng16] Removed "text_len" parameter from private function png_write_zTXt()
...
since it is unused.
2014-10-03 17:11:50 -05:00