fix decodecorpus incorrect frame generation

fix #1379
decodecorpus was generating one extraneous byte when `nbSeq==0`.
This is disallowed by the specification.

The reference decoder was just skipping the extraneous byte.
It is now stricter, and flag such situation as an error.
This commit is contained in:
Yann Collet committed 2018-10-20 18:56:21 -07:00
1 parent f2cff22804
commit f181799082
4 files changed
+9 -6

No files matched your search

Binary file not shown.
Binary file not shown.