[BUG][FIX][TEST] ZLibStream crc validation broken ( [er][et] Added tests, integrated with Zip archive reading, made CRCError resumable )

ned at squeakland.org ned at squeakland.org
Mon Mar 8 04:09:42 CET 2004


Stef, Andreas' changes were a follow-on to the PNGReadWriterV7 change
set.

Attached is a modified version of Andreas' change set with the following
additions:

Made CRCError actually resumable to correspond with the 'proceed to
continue' messages in the verifyCrc methods.

Added similar CRC integration for Zip archive stream reading by adding
ZipReadStream.

Added tests for reading past end of InflateStream subclasses and fixed a
potential problem with #next: by returning a partial buffer if the
stream is at its end.

Added detection for CRC-32 corruption to ZipArchiveMembers, and
indication of such corruption in the ArchiveViewer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZipCrcTests.cs.gz
Type: application/octet-stream
Size: 6699 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-harvest/attachments/20040307/59c6239c/ZipCrcTests.cs-0001.obj


More information about the Squeak-harvest mailing list