trifectatechfoundation / zlib-rs

A safer zlib
zlib License
139 stars 15 forks source link

fix bug in inflate_fast when refilling #216

Closed folkertdev closed 1 month ago

folkertdev commented 1 month ago

fix #213

the logic assumed a certain number of bits would be available; this was false in general.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
zlib-rs/src/inflate.rs 90.90% 1 Missing :warning:
Files with missing lines Coverage Δ
zlib-rs/src/inflate/bitreader.rs 90.62% <ø> (-0.99%) :arrow_down:
zlib-rs/src/inflate.rs 95.06% <90.90%> (-0.04%) :arrow_down:

... and 2 files with indirect coverage changes