-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.util.zip.ZipException: invalid entry size (expected 0 but got 622 bytes) #64
Comments
And problem message unzip610c22.zip!/unzip610c22/testmake_ppmd.zip - java.util.zip.ZipException: invalid compression method e.g. http://antinode.info/ftp/info-zip/unzip610c22.zip |
What does "java -version" print out? |
openjdk 11.0.13 2021-10-19 |
Reproducible on: java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment 18.9 (build 11.0.13+8)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing) Stack trace from 2021-12-22: $ java -jar log4j-detector-2021.12.22.jar --verbose SampleMusicBundle.zip
-- github.com/mergebase/log4j-detector v2021.12.22 (by mergebase.com) analyzing paths (could take a while).
-- Note: specify the '--verbose' flag to have every file examined printed to STDERR.
-- Examining /tmp/SampleMusicBundle.zip...
-- Problem /tmp/SampleMusicBundle.zip - java.util.zip.ZipException: invalid entry size (expected 0 but got 622 bytes)
java.util.zip.ZipException: invalid entry size (expected 0 but got 622 bytes)
at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:400)
at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:199)
at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143)
at java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)
at com.mergebase.log4j.Log4JDetector.findLog4jRecursive(Log4JDetector.java:291)
at com.mergebase.log4j.Log4JDetector.scan(Log4JDetector.java:617)
at com.mergebase.log4j.Log4JDetector.analyze(Log4JDetector.java:724)
at com.mergebase.log4j.Log4JDetector.main(Log4JDetector.java:160) There's a StackOverfow question with this exact error and no answers; it could be related to a specific Zip format. |
I get various messages java.util.zip.ZipException: invalid entry size (expected 0 but got 622 bytes) when e.g. scanning the following zip file: https://github.com/microsoft/Windows-classic-samples/blob/main/Samples/Win7Samples/dataaccess/OPC/musicbundlesignature/SampleMusicBundle.zip
With 7-Zip I can open it.
The text was updated successfully, but these errors were encountered: