[libpng16] Fixed incorrect handling of the iTXt compression flag
in pngrutil.c (bug report by Shunsaku Hirata). Bug was introduced in libpng-1.6.0.
This commit is contained in:
parent
1b3a9fd6bf
commit
48e6fad71c
6
ANNOUNCE
6
ANNOUNCE
@ -1,4 +1,4 @@
|
|||||||
Libpng 1.6.14beta04 - September 19, 2014
|
Libpng 1.6.14beta04 - September 27, 2014
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@ -47,7 +47,9 @@ Version 1.6.14beta03 [September 19, 2014]
|
|||||||
already defined. Revert floating point exception handling in pngvalid.c
|
already defined. Revert floating point exception handling in pngvalid.c
|
||||||
to version 1.6.14beta01 behavior.
|
to version 1.6.14beta01 behavior.
|
||||||
|
|
||||||
Version 1.6.14beta04 [September 19, 2014]
|
Version 1.6.14beta04 [September 27, 2014]
|
||||||
|
Fixed incorrect handling of the iTXt compression flag in pngrutil.c
|
||||||
|
(bug report by Shunsaku Hirata). Bug was introduced in libpng-1.6.0.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
6
CHANGES
6
CHANGES
@ -4430,7 +4430,7 @@ Version 1.6.1beta05 [March 1, 2013]
|
|||||||
Version 1.6.1beta06 [March 4, 2013]
|
Version 1.6.1beta06 [March 4, 2013]
|
||||||
Better documentation of unknown handling API interactions.
|
Better documentation of unknown handling API interactions.
|
||||||
Corrected Android builds and corrected libpng.vers with symbol
|
Corrected Android builds and corrected libpng.vers with symbol
|
||||||
prefixing This adds an API to set optimization options externally,
|
prefixing. This adds an API to set optimization options externally,
|
||||||
providing an alternative and general solution for the non-portable
|
providing an alternative and general solution for the non-portable
|
||||||
run-time tests used by the ARM Neon code. It also makes those tests
|
run-time tests used by the ARM Neon code. It also makes those tests
|
||||||
compile and link on Android.
|
compile and link on Android.
|
||||||
@ -5000,7 +5000,9 @@ Version 1.6.14beta03 [September 19, 2014]
|
|||||||
already defined. Revert floating point exception handling in pngvalid.c
|
already defined. Revert floating point exception handling in pngvalid.c
|
||||||
to version 1.6.14beta01 behavior.
|
to version 1.6.14beta01 behavior.
|
||||||
|
|
||||||
Version 1.6.14beta04 [September 19, 2014]
|
Version 1.6.14beta04 [September 27, 2014]
|
||||||
|
Fixed incorrect handling of the iTXt compression flag in pngrutil.c
|
||||||
|
(bug report by Shunsaku Hirata). Bug was introduced in libpng-1.6.0.
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
@ -2671,7 +2671,7 @@ png_handle_iTXt(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length)
|
|||||||
|
|
||||||
buffer[uncompressed_length+prefix_length] = 0;
|
buffer[uncompressed_length+prefix_length] = 0;
|
||||||
|
|
||||||
if (compressed != 0)
|
if (compressed == 0)
|
||||||
text.compression = PNG_ITXT_COMPRESSION_NONE;
|
text.compression = PNG_ITXT_COMPRESSION_NONE;
|
||||||
|
|
||||||
else
|
else
|
||||||
@ -3330,7 +3330,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep dp, int display)
|
|||||||
/* This can only be the RGB case, so each copy is exactly one
|
/* This can only be the RGB case, so each copy is exactly one
|
||||||
* pixel and it is not necessary to check for a partial copy.
|
* pixel and it is not necessary to check for a partial copy.
|
||||||
*/
|
*/
|
||||||
for(;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
dp[0] = sp[0], dp[1] = sp[1], dp[2] = sp[2];
|
dp[0] = sp[0], dp[1] = sp[1], dp[2] = sp[2];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user