Skip to content

Commit c424ce8

Browse files
bjorn3folkertdev
authored andcommitted
Remove explicit dst increment in HUFv07_decodeLastSymbolX4
dst.write_u8() already does this increment. This fixes a fuzz bug introduced in 3955cca.
1 parent 22b7fc6 commit c424ce8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/legacy/zstd_v07.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,6 @@ fn HUFv07_decodeLastSymbolX4(
12161216
DStream.bitsConsumed = usize::BITS;
12171217
}
12181218
}
1219-
*dst = dst.subslice(1..);
12201219
}
12211220
#[inline]
12221221
fn HUFv07_decodeStreamX4(

0 commit comments

Comments
 (0)