entryEnumerationStream = new TarArchiveInputStream(fInputStream);
try {
curEntry = (TarArchiveEntry) entryEnumerationStream.getNextEntry();
+ if (!curEntry.isCheckSumOK()) {
+ throw new IOException("Error detected parsing initial entry header"); //$NON-NLS-1$
+ }
} catch (IOException e) {
fInputStream.close();
throw e;