public class JarValidator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validateZipSlipSecure(java.io.InputStream jarFileInputStream)
Checks if the jar file is not malformed and thus is not zip slip vulnerable
(doesn't have any entry name with traversal directory like "../file.dat")
|
public static void validateZipSlipSecure(java.io.InputStream jarFileInputStream)
throws java.io.IOException
jarFileInputStream - jar file InputStream to checkjava.io.IOExceptionCopyright © 2018 SAP SE. All Rights Reserved.