zstd/lib/legacy
Nick Terrell d1cc9d2797
[fuzz] Allow zero sized buffers for streaming fuzzers (#1945)
* Allow zero sized buffers in `stream_decompress`. Ensure that we never have two
  zero sized buffers in a row so we guarantee forwards progress.
* Make case 4 in `stream_round_trip` do a zero sized buffers call followed by
  a full call to guarantee forwards progress.
* Fix `limitCopy()` in legacy decoders.
* Fix memcpy in `zstdmt_compress.c`.

Catches the bug fixed in PR #1939
2020-01-09 11:38:50 -08:00
..
zstd_legacy.h [legacy] Return the right error code 2019-04-17 11:34:52 -07:00
zstd_v01.c Use clz ^ 31 instead of 31 - clz; better codegen for GCC 2019-09-23 21:23:09 +02:00
zstd_v01.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v02.c Use clz ^ 31 instead of 31 - clz; better codegen for GCC 2019-09-23 21:23:09 +02:00
zstd_v02.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v03.c Use clz ^ 31 instead of 31 - clz; better codegen for GCC 2019-09-23 21:23:09 +02:00
zstd_v03.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v04.c [fuzz] Allow zero sized buffers for streaming fuzzers (#1945) 2020-01-09 11:38:50 -08:00
zstd_v04.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v05.c [fuzz] Allow zero sized buffers for streaming fuzzers (#1945) 2020-01-09 11:38:50 -08:00
zstd_v05.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v06.c [fuzz] Allow zero sized buffers for streaming fuzzers (#1945) 2020-01-09 11:38:50 -08:00
zstd_v06.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00
zstd_v07.c [fuzz] Allow zero sized buffers for streaming fuzzers (#1945) 2020-01-09 11:38:50 -08:00
zstd_v07.h Fix typo in legacy documentation 2019-03-19 01:44:08 -07:00