Skip to content

Commit 4640f7b

Browse files
Update src/test/java/org/xerial/snappy/fuzz/SnappyCombinedFuzzer.java
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent ff76e20 commit 4640f7b

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)