You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.StackOverflowError
at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:152)
at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132)
at java.base/java.io.PushbackInputStream.read(PushbackInputStream.java:182)
at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:242)
at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
I think the deep-zip-snapshotting and the zip-bomb issue have been there since we first implemented the zip fingerprinting. We probably increased the number of places where this could occur when I added the functionality to hash zips found in directories, but this is not new behavior as far as I can tell.
Expected Behavior
Zip Bomb inside jar not to trigger any error.
Current Behavior
StackOverflowError
on 7.0 andOutOfMemoryError
on 6.8.3 without any context for the exception.Context
Triggered issue after adding
org.apache.tika:tika-parsers:1.22:tests
.See also: https://gradle-community.slack.com/archives/CAH4ZP3GX/p1618760838029700
Steps to Reproduce
build.gradle.kts
:mkdir -p src/test/java && echo 'class A {}' > src/test/java/A.java
)gradle test
Your Environment
Build scan URL: https://scans.gradle.com/s/cb5v5n5bmeyn6
The text was updated successfully, but these errors were encountered: