detect extraneous bytes in the Sequences section

when nbSeq == 0.

Reported by @ip7z
This commit is contained in:
Yann Collet committed 2023-06-13 11:43:45 -07:00
1 parent c8888d9bf4
commit b46236278a
3 files changed
+18

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-decompression-errors/"
for file in "$GOLDEN_DIR"/*; do
zstd -t $file && die "should have detected an error"
done
exit 0