RFR: 8150469: unpack200 fails to compare crc correctly.

Kumar Srinivasan kumar.x.srinivasan at oracle.com
Mon Feb 29 16:06:17 UTC 2016

Hello John, Alex,

Please review fix for https://bugs.openjdk.java.net/browse/JDK-8150469

The previous fix keeps the storage in the unpacker object which is
reset, for a multi-segmented pack archive, thus the computed crc32 is lost.

Now the storage is moved into the gzip container, which persists, across
multiple segments, I  also added the length check as specified by RFC 1952,
as  implemented by JDK.


The review is at:


More information about the core-libs-dev mailing list