[
https://issues.apache.org/jira/browse/NIFI-15718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066836#comment-18066836
]
segad44 commented on NIFI-15718:
--------------------------------
[~dstiegli1] This one illustrates my case:
[https://github.com/srikanth-lingala/zip4j/blob/master/src/test/resources/test-archives/entry_with_checksum_mismatch.zip]
UnpackContent didn't fail on it.
The CRC isn't ok:
{code:java}
$ zip -T entry_with_checksum_mismatch.zip
sample_text1.txt bad CRC d335ee7a (should be 003611e7)
test of entry_with_checksum_mismatch.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original
files unmodified) {code}
> UnpackContent doesn't verify zip checksum
> -----------------------------------------
>
> Key: NIFI-15718
> URL: https://issues.apache.org/jira/browse/NIFI-15718
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 2.6.0, 2.7.0, 2.7.1, 2.7.2
> Reporter: segad44
> Priority: Major
> Attachments: entry_with_checksum_mismatch.zip
>
>
> UnpackContent unpacks corrupted zip (wrong crc checksum) without error.
> It should check the checksum and fail if the file is corrupted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)