]> git.ipfire.org Git - thirdparty/zstd.git/commit
support decompressing an empty frame into NULL 1390/head
authorYann Collet <cyan@fb.com>
Wed, 24 Oct 2018 23:34:35 +0000 (16:34 -0700)
committerYann Collet <cyan@fb.com>
Wed, 24 Oct 2018 23:34:35 +0000 (16:34 -0700)
commit806a5c84e4488d3eac54bc1971e07e3e39427783
tree1af6b4163d1e7b055015f5d0e0a19d13223b9b7b
parentb7421f8e6994fc8317b50993a0b5ccf5a843395a
support decompressing an empty frame into NULL

fix #1385
decompressing into NULL was an automatic error.
It is now allowed, as long as the content of the frame is empty.

Seems to simplify things for `arrow`.
Maybe some other projects rely on this behavior ?
lib/decompress/zstd_decompress.c
tests/fuzzer.c