Skip to content

Commit c474d89

Browse files
bjorn3folkertdev
authored andcommitted
Add back accidentally removed pointer addition
This caused a fuzz bug
1 parent 2b10370 commit c474d89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/legacy/zstd_v05.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,6 +2352,7 @@ unsafe fn ZSTDv05_decodeSeqHeaders(
23522352
if MLlog > MLFSEv05Log as core::ffi::c_uint {
23532353
return Err(Error::corruption_detected);
23542354
}
2355+
ip = ip.add(headerSize);
23552356
let _ = FSEv05_buildDTable(DTableML, &norm, max, MLlog);
23562357
}
23572358
_ => unreachable!(),

0 commit comments

Comments
 (0)