@UnitTest public class SafeZipInputStreamTest extends java.lang.Object
| Constructor and Description |
|---|
SafeZipInputStreamTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
shouldReadCorrectEntriesFromZipInputStream() |
void |
shouldThrowUnsupportedZipEntryExceptionWhenReadingMaliciousZipInputStream() |
static byte[] |
zipSlipArchiveAsBytes(java.util.List<java.lang.String> entryNames,
java.util.List<java.lang.String> contents) |
public void shouldThrowUnsupportedZipEntryExceptionWhenReadingMaliciousZipInputStream()
public void shouldReadCorrectEntriesFromZipInputStream()
throws java.io.IOException
java.io.IOExceptionpublic static byte[] zipSlipArchiveAsBytes(java.util.List<java.lang.String> entryNames,
java.util.List<java.lang.String> contents)
Copyright © 2018 SAP SE. All Rights Reserved.