• M
    Fix inflateInit2() bug when windowBits is 16 or 32. · 0db8fd37
    Mark Adler 提交于
    A windowBits value of 0, 16, or 32 gets the window bits from the
    zlib header.  However there is no zlib header for 16, or for 32
    when the input is gzip.  This commit sets the window bits for
    inflate to 15 if a gzip stream is detected and windowBits was 16
    or 32.
    0db8fd37
inflate.c 52.6 KB