Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7, 1.8
-
Common Compress 1.7 + openJDK 1.7
Description
I just found the following test case didn't raise an IOException as it used to be for a tar trimmed on purpose
@Test
public void testCorruptedBzip2() throws IOException {
String archivePath = PathUtil.join(testdataDir, "test.tar.bz2");
TarArchiveInputStream input = null;
input = new TarArchiveInputStream(new BZip2CompressorInputStream(
GoogleFile.SYSTEM.newInputStream(archivePath), true));
ArchiveEntry nextMatchedEntry = input.getNextEntry();
while (nextMatchedEntry != null)
}