[libpng17' Restored a line, "c = b;", that was inadvertently deleted from the

PAETH filtering code from libpng-1.7.0beta24/pngrutil.c and reenabled
the pngimage tests.
This commit is contained in:
Glenn Randers-Pehrson 2014-02-05 15:19:13 -06:00
parent 8dd3784f7c
commit 2d032e966d
5 changed files with 7 additions and 6 deletions

View File

@ -520,6 +520,8 @@ Version 1.7.0beta31 [February 5, 2014]
the read code to return an invalid sBIT chunk, which might lead to
application errors or crashes. Such chunks are now skipped (with
chunk_benign_error).
Restored a line, "c = b;", that was inadvertently deleted from the
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4809,6 +4809,8 @@ Version 1.7.0beta31 [February 5, 2014]
the read code to return an invalid sBIT chunk, which might lead to
application errors or crashes. Such chunks are now skipped (with
chunk_benign_error).
Restored a line, "c = b;", that was inadvertently deleted from the
PAETH filtering code from libpng-1.7.0beta24/pngrutil.c.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -3807,6 +3807,7 @@ png_read_filter_row_paeth_1byte_pixel(png_row_infop row_info, png_bytep row,
/* Calculate the current pixel in a, and move the previous row pixel to c
* for the next time round the loop
*/
c = b;
a += *row;
*row++ = (png_byte)a;
}

View File

@ -1,4 +1,2 @@
#!/bin/sh
# does not work
# exec ./pngimage --exhaustive --log "${srcdir}/contrib/pngsuite/"*.png
exit 77
exec ./pngimage --exhaustive --log "${srcdir}/contrib/pngsuite/"*.png

View File

@ -1,4 +1,2 @@
#!/bin/sh
# does not work
# exec ./pngimage --log "${srcdir}/contrib/pngsuite/"*.png
exit 77
exec ./pngimage --log "${srcdir}/contrib/pngsuite/"*.png