Glenn Randers-Pehrson
cd8a3ffeb1
[libpng15] Fixed some inconsequential cut-and-paste typos in
...
png_set_cHRM_XYZ_fixed().
2015-11-01 12:40:04 -06:00
Glenn Randers-Pehrson
9db953ad5b
[libpng15] Imported from libpng-1.5.24rc01.tar
v1.5.24rc01
2015-10-31 08:52:12 -05:00
Glenn Randers-Pehrson
91a73053b9
[libpng15] Update manual about handling over-length PLTE chunks.
2015-10-31 08:47:32 -05:00
Glenn Randers-Pehrson
820a090567
[libpng15] Silently truncate over-length PLTE chunk while reading.
2015-10-30 13:21:32 -05:00
Glenn Randers-Pehrson
20e0daa74a
[libpng15] Update CHANGES and ANNOUNCE about rowbytes fix
2015-10-30 13:02:20 -05:00
John Bowler
8678f9c3f4
rowbytes check correction
...
The old code incorrectly calculated the output rowbytes when the
application decreased either the number of channels or the bit depth (or
both) in a user transform. This was safe; libpng overallocated buffer
space (potentially by quite a lot; up to 4 times the amount required)
but, from 1.5.4 on, resulted in a png_error.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-10-29 18:12:10 -07:00
Glenn Randers-Pehrson
3a990c93f4
[libng15] Prevent writing over-length PLTE chunk (Cosmin Truta).
2015-10-29 09:56:19 -05:00
Glenn Randers-Pehrson
39f8f0e6da
[libpng15] Bump version to 1.5.24beta03
2015-10-14 22:14:22 -05:00
Glenn Randers-Pehrson
51148c5255
[libpng15] Imported from libpng-1.5.24beta02.tar
v1.5.24beta02
2015-10-14 22:14:13 -05:00
Glenn Randers-Pehrson
5e51957594
[libpng15] Added sPLT support to pngtest.c
2015-10-11 11:31:44 -05:00
Glenn Randers-Pehrson
2cc28ebc00
[libpng15] Merged pngvalid.c with libpng16's pngvalid.c, again.
2015-10-03 18:07:03 -05:00
Glenn Randers-Pehrson
24e485baec
[libpng15] Improve CHANGES and ANNOUNCE description of filler-byte fix.
2015-09-18 23:34:55 -05:00
Glenn Randers-Pehrson
01789a5e8e
[libpng15] Fix "last changed" line for pngvalid.c
2015-09-18 22:01:55 -05:00
Glenn Randers-Pehrson
1f4508c7e2
[libpng15] Update CHANGES and ANNOUNCE per recent pull request.
2015-09-18 21:24:29 -05:00
John Bowler
9946064745
pngvalid. copied from libpng17
...
This change requires the fix to png_set_filler
Signed-off-by: John Bowler <jbowler@acm.org>
2015-09-18 15:49:57 -07:00
John Bowler
e87d502b16
png_set_filler with 16-bit output byte swapped the value
...
A simple case of assigning the low and high byte in the wrong order, may
cause problems for some apps if they already have a work-round. The
code executes before the 16-bit byte swap so the order is always the PNG
one.
Signed-off-by: John Bowler <jbowler@acm.org>
2015-09-18 14:04:50 -07:00
John Bowler
8c4b258355
[libpng15] Fixed png_save_int_32 when int is not 2's complement (John Bowler).
2015-08-21 14:50:38 -05:00
Glenn Randers-Pehrson
7730265b27
[libpng15] Bump version to 1.5.24beta02
2015-08-19 12:54:33 -05:00
Glenn Randers-Pehrson
75318bc745
[libpng15] Imported from libpng-1.5.24beta01.tar
v1.5.24beta01
2015-08-19 12:54:24 -05:00
Glenn Randers-Pehrson
c357fb70b5
[lbipng15] Fixed the recently reported 1's complement security issue by
...
replacing the value that is illegal in the PNG spec, in both signed and
unsigned values, with 0. Illegal unsigned values (anything greater than or
equal to 0x80000000) can still pass through, but since these are not illegal
in ANSI-C (unlike 0x80000000 in the signed case) the checking that
occurs later can catch them (John Bowler).
Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
Seacord).
2015-08-19 12:52:39 -05:00
Glenn Randers-Pehrson
a88dec67f2
[libpng15] Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
...
Seacord).
2015-08-18 10:23:35 -05:00
Glenn Randers-Pehrson
357f3da6b0
[libpng15] Fix links in man page
2015-08-11 15:33:21 -05:00
Glenn Randers-Pehrson
53cabf986f
[libpng15] Fix links in man page
2015-08-11 13:03:02 -05:00
Glenn Randers-Pehrson
adef6f991f
[libpng15] Update dead link in man page
2015-08-11 12:09:06 -05:00
Glenn Randers-Pehrson
bb98fdbf31
[libpng15] Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
...
and fixed uninitialized variable in contrib/gregbook/rpng2-x.c
2015-07-30 11:32:56 -05:00
Glenn Randers-Pehrson
aa24431c93
[libpng15] Bump version to 1.5.24beta01
2015-07-23 20:20:39 -05:00
Glenn Randers-Pehrson
a058d6cee0
[libpng15] Imported from libpng-1.5.23.tar
v1.5.23
libpng-1.5.23-signed
2015-07-22 22:40:33 -05:00
Glenn Randers-Pehrson
445ad8fabf
[libpng15] Imported from libpng-1.5.23rc03.tar
v1.5.23rc03
2015-07-15 21:23:58 -05:00
Glenn Randers-Pehrson
4dc8ea0929
[libpng15] Removed WEIGHTED_FILTER paragraph from the man page.
2015-07-13 14:42:14 -05:00
Glenn Randers-Pehrson
91c2de79b9
[libpng15] Bump version to libpng-1.5.23rc03.tar
2015-07-13 08:30:27 -05:00
Glenn Randers-Pehrson
06bf45e527
[libpng15] Imported from libpng-1.5.23rc02.tar
v1.5.23rc02
2015-07-13 07:06:07 -05:00
Glenn Randers-Pehrson
ce12446903
[libpng15] Restored unused FILTER_HEURISTIC macros removed at
...
libpng-1.5.23beta02 to png.h to avoid compatibility warnings.
2015-07-13 07:04:17 -05:00
Glenn Randers-Pehrson
ceaf50079a
[libpng15] Imported from libpng-1.5.23rc01.tar
v1.5.23rc01
2015-07-09 11:58:09 -05:00
Glenn Randers-Pehrson
5129cbb795
[libpng15] Belatedly added Mans Rullgard to the list of Contributing Authors.
2015-07-09 11:53:58 -05:00
Glenn Randers-Pehrson
5c88d90ce8
[libpng15] Bump version to 1.5.23beta03
2015-06-30 11:01:58 -05:00
Glenn Randers-Pehrson
57b246e736
[libpng15] Imported from libpng-1.5.23beta02.tar
v1.5.23beta02
2015-06-30 11:01:50 -05:00
Glenn Randers-Pehrson
32751e6a20
[libpng15] Removed some unused WEIGHTED_FILTER macros from png.h and pngstruct.h
2015-06-10 07:14:50 -05:00
Glenn Randers-Pehrson
d522ff063f
[libpng15] Removed non-working progressive reader 'skip' function.
2015-06-03 17:09:47 -05:00
Glenn Randers-Pehrson
ab096c961b
[libpng15] Quieted Coverity issues in pngvalid.c.
2015-06-03 16:18:23 -05:00
Glenn Randers-Pehrson
5ce5cb7a9a
[libpng15] Bump version to 1.5.23beta02
2015-06-01 21:10:37 -05:00
Glenn Randers-Pehrson
8ed373b1fa
[libpng15] Removed WRITE_WEIGHTED_FILTERED code, to save a few kbytes of the
...
compiled library size. It never worked properly and as far as we can
tell, no one uses it. The png_set_filter_heuristics() and
png_set_filter_heuristics_fixed() APIs are retained but deprecated
and do nothing.
2015-06-01 21:08:14 -05:00
Glenn Randers-Pehrson
9fee864806
[libpng15] Imported from libpng-1.5.23beta01.tar
v1.5.23beta01
2015-06-01 21:07:27 -05:00
Glenn Randers-Pehrson
2cd7404743
[libpng15] Avoid a harmless potential integer overflow in png_XYZ_from_xy() (Bug
...
report from Christopher Ferris).
2015-05-21 15:20:52 -05:00
Glenn Randers-Pehrson
8583cc23e4
[libpng15] Avoid Coverity issue 80858 (REVERSE NULL) in pngtest.c
...
PNG_DEBUG builds.
2015-05-09 21:44:18 -05:00
Glenn Randers-Pehrson
58a54220dd
[libpng15] Replaced "unexpected" with an integer in pngset.c where a long was
...
expected, to avoid a compiler warning when PNG_DEBUG > 1.
2015-04-29 11:53:28 -05:00
Glenn Randers-Pehrson
e985b95d65
[libpng15] Removed unused PNG_SET_CHUNK_[CACHE|MALLOC]_LIMIT_SUPPORTED definitions
...
from pnglibconf.h.prebuilt (Andrew Church).
2015-03-27 09:14:25 -05:00
Glenn Randers-Pehrson
4925a28f6d
[libpng15] Bump version to 1.5.23beta01
2015-03-27 09:09:21 -05:00
Glenn Randers-Pehrson
4b1b9ce028
[libpng15] Imported from libpng-1.5.22.tar
v1.5.22
libpng-1.5.22-signed
2015-03-26 08:11:00 -05:00
Glenn Randers-Pehrson
76a0ff6a10
[libpng15] Bump version to 1.5.22rc05
2015-03-17 08:14:08 -05:00
Glenn Randers-Pehrson
00176867fe
[libpng15] Imported from libpng-1.5.22rc04.tar
v1.5.22rc04
2015-03-17 08:00:00 -05:00