ppkarwasz commented on code in PR #753:
URL: https://github.com/apache/commons-compress/pull/753#discussion_r2596297191
##########
src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java:
##########
Review Comment:
I think we should just skip the remainder of the archive here:
```java
if (!sig.equals(ZipLong.LFH_SIG)) {
hitCentralDirectory = true;
skipRemainderOfArchive();
return null;
}
```
I couldn't find any documentation that describes the process of padding a
ZIP file. Therefore, we must assume that the “padding” is just arbitrary data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]