zlib 1.1.4 is out (was: Re: Patch: update zlib/* to 1.1.3)

Jos Backus josb at cncdsl.com
Tue Mar 12 11:41:01 EST 2002


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
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb at cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;




More information about the rsync mailing list