[ 
https://issues.apache.org/jira/browse/NIFI-15718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113021#comment-18113021
 ] 

ASF subversion and git services commented on NIFI-15718:
--------------------------------------------------------

Commit baf369c33c6a0dec79ec44b6c89cdbaa57d6e73d in nifi's branch 
refs/heads/NIFI-15718 from Joe Witt
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=baf369c33c6 ]

NIFI-15718 Address UnpackContent CRC review comments
Use ZipArchiveEntry.CRC_UNKNOWN, mark processEntry parameters final, and hoist 
reused ZIP test names and signatures to constants.

Co-authored-by: Cursor <[email protected]>


> 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
>            Assignee: Joe Witt
>            Priority: Major
>         Attachments: entry_with_checksum_mismatch.zip
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to