fix compressing into NULL
authorYann Collet <cyan@fb.com>
Sat, 26 Sep 2020 18:31:57 +0000 (11:31 -0700)
committerYann Collet <cyan@fb.com>
Sat, 26 Sep 2020 18:31:57 +0000 (11:31 -0700)
commitee4f37d2840c1faa41fb7110bbf6d1e58bf30ace
treeb1b330a8246b826f84dc48bdc4982fcdbe833d8e
parent20856da7c571cc1ee55965a342527f8263dc356d
fix compressing into NULL

fails properly
bug discovered by oss-fuzz
lib/lz4.c
tests/fuzzer.c