[Zlib-devel] known bugs in distance-checking code?

Greg Roelofs newt at pobox.com
Sat Feb 26 21:29:13 EST 2005


> I have another.  Why do none of the examples exhibit any apparently
> bad pixels when viewed with old zlib?

If I understood Mark's comment about calloc() correctly, I believe
it's because they assume the (wrapped) window is initialized with
zeros (i.e., they're basically assuming a preset dictionary containing
strings of up to 32,768 NULs), and that assumption is completely valid
for the old decoder.

Greg




More information about the Zlib-devel mailing list