fixed improper hint
authorYann Collet <cyan@fb.com>
Fri, 28 Sep 2018 21:57:50 +0000 (14:57 -0700)
committerYann Collet <cyan@fb.com>
Fri, 28 Sep 2018 21:57:50 +0000 (14:57 -0700)
commit21120549a7f35f924a66c7c071d0f5c69cf7e08a
tree188497d6edae9dfebea63711dea631012e766a8a
parentcb917827f95a62dffb9575a2225e55721739b162
fixed improper hint

when LZ4F_decompress() decodes an uncompressed block,
it provides an incorrect hint for next block
when frame checksum is enabled and block checksum is not.

Impact is low : the hint is just an hint,
the decoder works whatever the amount of input provided.

But the assumption that each call to LZ4F_decompress()
would generate just one complete block if input size hint was respected
was broken by this error.
lib/lz4frame.c