trifectatechfoundation / zlib-rs

A safer zlib
zlib License
139 stars 15 forks source link

missing gzip header logic #205

Closed folkertdev closed 1 month ago

folkertdev commented 1 month ago

in the zlib-ng code, the HEAD block of inflate has this bit

            if (state->head != NULL)
                state->head->done = -1;

which we don't appear to currently implement. We should figure out when this is important, add tests, and fix the problem.

folkertdev commented 1 month ago

fixed by https://github.com/trifectatechfoundation/zlib-rs/pull/217