plan9fox/sys/src/libflate
cinap_lenrek a7ac020664 libflate: force non-empty huffman table in mkzprecode() for deflate
busybox gunzip fails on empty (offset) huffman tables,
so force one entry.

gzip states in a comment:

The pkzip format requires that at least one distance code exists,
and that at least one bit should be sent even if there is only one
possible code.
2017-12-09 18:20:29 +01:00
..
adler.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
crc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
deflate.c libflate: force non-empty huffman table in mkzprecode() for deflate 2017-12-09 18:20:29 +01:00
deflateblock.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
deflatezlib.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
deflatezlibblock.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
flateerr.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
inflate.c libflate: add bounds checking on decode array, add sanity checks in hufftab() 2016-08-15 01:07:28 +02:00
inflateblock.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
inflatezlib.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
inflatezlibblock.c flate: fix wrong adler32() length calculation (thanks qrstuv) 2014-12-20 03:34:40 +01:00
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
zlib.h Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00