On Tue, Mar 12, 2002 at 10:58:31AM +1100, Martin Pool wrote:
> It seems the patch we merged into rsync 2.5.3 is not correct and -z is
> not reliable.  I'll do another release shortly.

So the extra ZFREE() in infblock.c was the culprit:

    http://cvs.samba.org/cgi-bin/cvsweb/rsync/zlib/infblock.c.diff?r1=1.4&r2=1.5&f=h

Wrt the bandaid, on both Solaris and FreeBSD the manpage says ``If ptr is
NULL, no action occurs.''. So it sounds like there are platforms where
free(NULL) does cause a crash.

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
[EMAIL PROTECTED]     _/_/   _/_/_/            use Std::Disclaimer;

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to