Skip to content

Commit 97aca26

Browse files
committed
Merge branch 'adding-new-fuzzers' of https://github.com/vishalcoc44/snappy-java into adding-new-fuzzers
2 parents b0566b6 + 4640f7b commit 97aca26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/xerial/snappy/fuzz/SnappyCombinedFuzzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static void testBlockStream(FuzzedDataProvider data) {
209209
runFuzz(() -> {
210210
byte[] original = data.consumeBytes(data.consumeInt(0, 4096));
211211
ByteArrayOutputStream compressedBuf = new ByteArrayOutputStream();
212-
SnappyOutputStream out = new SnappyOutputStream(compressedBuf, -1);
212+
SnappyOutputStream out = new SnappyOutputStream(compressedBuf, SnappyOutputStream.MIN_BLOCK_SIZE);
213213
out.write(original);
214214
out.close();
215215
byte[] compressed = compressedBuf.toByteArray();

0 commit comments

Comments
 (0)