Web lists-archives.com

Re: Bug in lrzip 0.631-1 (32 bit version) with -d -o - options

On 25/01/2017 23:15, David Balažic wrote:

The 32 bit version of lrzip 0.631-1 contains a bug that corrupts the
decompressed dat in some circumstances.

I reproduced the problem on 2 PCs (the md5sum of the broken output was
the same on both systems).

I seems to happen when the (de)compressed file size is bigger than the
available RAM (note that the 32 bit version uses max 4GB in any case)
and lrzip resorts to using a temporary file.


Simply decompressing the file (lrzip -d -o sda.img sda.img.lrz2) to
filesystem works fine, only when piped to stdout the problem happens.

The 64 bit version does not have this problem.


can you check if latest cygwin test solves the issue ?
There was a change on pipe handling.


- Always try to write all incoming bytes to blocking pipes, as required
  by POSIX.
  Addresses: https://cygwin.com/ml/cygwin/2017-01/msg00087.html


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple