[lz4] Fix bugs in partial decoding
authorNick Terrell <terrelln@fb.com>
Sat, 13 Jul 2019 01:36:28 +0000 (18:36 -0700)
committerNick Terrell <terrelln@fb.com>
Mon, 15 Jul 2019 19:21:59 +0000 (12:21 -0700)
commit725cb0aafdf78b550c52618fe5cea1fadd278881
tree95c24cc09ace33c1919bc239c759c9f5ad3f40e0
parentf1e8e806e0dd753eb48e40272e620f747c7b723e
[lz4] Fix bugs in partial decoding

* Partial decoding could read a few bytes beyond the end of the input
* Partial decoding returned an error with an empty output buffer
lib/lz4.c