[libpng17] Changed bad CRC from 0x00000000 to 0xabadcc32 and bad ADLER32

from 0x00000000 to 0xabadad32 in badcrc.png and badadler.png, to make
them recognizable in hex dumps.
This commit is contained in:
Glenn Randers-Pehrson 2016-09-26 07:33:19 -05:00
parent f911c1146a
commit 517fe770e2
4 changed files with 2 additions and 2 deletions

View File

@ -1405,7 +1405,7 @@ Version 1.7.0beta84 [September 26, 2016]
Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngrutil.c. Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngrutil.c.
If CRC handling of critical chunks has been set to PNG_CRC_QUIET_USE, 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. ignore the ADLER32 checksum in the IDAT chunk as well as the chunk CRCs.
Warn about ADLER32 checksum mismatch instead of issuing a png_error(). Issue png_benign_error() on ADLER32 checksum mismatch instead of png_error().
Add tests/badcrc.png and tests/badadler.png to tests/pngtest. Add tests/badcrc.png and tests/badadler.png to tests/pngtest.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

View File

@ -5705,7 +5705,7 @@ Version 1.7.0beta84 [September 26, 2016]
Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngrutil.c. Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngrutil.c.
If CRC handling of critical chunks has been set to PNG_CRC_QUIET_USE, 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. ignore the ADLER32 checksum in the IDAT chunk as well as the chunk CRCs.
Warn about ADLER32 checksum mismatch instead of issuing a png_error(). Issue png_benign_error() on ADLER32 checksum mismatch instead of png_error().
Add tests/badcrc.png and tests/badadler.png to tests/pngtest. Add tests/badcrc.png and tests/badadler.png to tests/pngtest.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 B

After

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 B

After

Width:  |  Height:  |  Size: 67 B