]> git.ipfire.org Git - thirdparty/zstd.git/commit
decode more data before triggering error 875/head
authorYann Collet <cyan@fb.com>
Fri, 29 Sep 2017 22:54:09 +0000 (15:54 -0700)
committerYann Collet <cyan@fb.com>
Fri, 29 Sep 2017 22:54:09 +0000 (15:54 -0700)
commit8afcc80e071f8e33b9c487f280649eb6c334a6e5
treef8a721e13d9f65ac517b2c8f1751c627a721b065
parentb93598d6a4b50c85f43e59803afe31d6ac84a6b0
decode more data before triggering error

fixes #874 :
when a frame is not properly terminated by a "last block" signal,
zstd -d used to detect it immediately and error out.
This version will decode and flush the last block, and only then issue an error.
programs/fileio.c