When decompressing compressed random data, the output does not match the input. Specifically, the last byte of the decompressed data is always 0. Test case attached.
Oh, I found the problem. It's a one-too-short copy loop in decode.c that gets activated for random data.
Fix verified: https://travis-ci.org/quixdb/squash/builds/12907399
Thanks!
It dodesn't look like I can close the bug…
Log in to post a comment.
Oh, I found the problem. It's a one-too-short copy loop in decode.c that gets activated for random data.
Fix verified: https://travis-ci.org/quixdb/squash/builds/12907399
Thanks!
It dodesn't look like I can close the bug…