zlib 1.2.5 puff.c fixed() fails to initialize tables

Hi,

  In zlib 1.2.5.'s `puff.c` the `fixed()` routine initializes the fields
in `lencode` and `distcode` after calling `construct()` which relies on
them being initialized. The initialization needs to be moved before the
first call to `construct()`.

regards,
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 15 March 2011 00:41:38 UTC