Re: [xml] gzdirect() doesn't work in zlib 1.3.5.5 (at least) (was Re: libxml violates the zlib interface and crashes)



On Fri, Jan 29, 2010 at 12:25:36PM +0100, Daniel Veillard wrote:
On Sun, Jan 24, 2010 at 09:03:33PM -0800, Mark Adler wrote:
On Jan 22, 2010, at 9:54 AM, Nix wrote:
These results are inverted, so in 1.2.3.5, gzdirect() returns 0 even
when the input source file is not compressed at all.

All,

zlib 1.2.3.7 is available, which can be used in addition to zlib 1.2.3.0 for testing the fixes to libxml. 
 gzdirect() now works as expected.

    http://zlib.net/current/beta/

  thanks !

  as long as the breakage can be seen only with zlib beta and not with
the main release I think it's fine. We should however synchronize so
that I push a new libxml2 release before the next stable zlib one,

  right ?

There is something that "bothers" me. I've applied the patch to the
libxml2 debian package already, and ran the testsuite with the zlib from
both current debian unstable and debian stable, i.e. respectively
1.2.3.4 and 1.2.3.3. Both were working properly, but considering the
above I was expecting failures...

Is 1.2.3.5 the first version where it was really broken ?

Mike



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]