[Zlib-devel] zlib 1.2.3.6 available for testing

Mark Adler madler at alumni.caltech.edu
Mon Jan 18 04:46:18 EST 2010


On Jan 18, 2010, at 1:10 AM, Török Edwin wrote:
> I noticed that the last two elements of lext[31] constant table in
> inftrees.c change for each zlib beta release.
> Is there any particular reason why?

Yes.  I can use that table to find instances of inflate in application code even if the copyright string is removed, and those last two elements can be used to determine which version of inflate.

This information should not go beyond this email list.

> Doesn't that introduce
> incompatibilities when decompressing something compressed with another
> version of zlib?

No.  inflate is insensitive to some of the bits in those elements, and so of course those are the bits I vary randomly for each version.

Mark





More information about the Zlib-devel mailing list