Menu

#2 Decompressed data not identical to input

v1.0.4
open
nobody
None
5
2013-10-22
2013-09-11
No

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.

1 Attachments

Discussion

  • Marcus Geelnard

    Marcus Geelnard - 2013-10-22

    Oh, I found the problem. It's a one-too-short copy loop in decode.c that gets activated for random data.

     
  • Evan Nemerson

    Evan Nemerson - 2013-10-22

    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.

Auth0 Logo