Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f463538 commit cc47b90Copy full SHA for cc47b90
interlok-core/src/main/java/com/adaptris/core/lms/ZipFileBackedMessageImpl.java
@@ -16,6 +16,7 @@
16
17
package com.adaptris.core.lms;
18
19
+import io.github.pixee.security.ZipSecurity;
20
import java.io.File;
21
import java.io.IOException;
22
import java.io.InputStream;
@@ -70,7 +71,7 @@ private InputStream openInputStream() throws IOException {
70
71
}
72
73
if (isZip) {
- ZipInputStream zin = new ZipInputStream(super.getInputStream());
74
+ ZipInputStream zin = ZipSecurity.createHardenedInputStream(super.getInputStream());
75
zin.getNextEntry();
76
return zin;
77
0 commit comments