PSeitz / lz4_flex

Fastest pure Rust implementation of LZ4 compression/decompression.
MIT License
460 stars 31 forks source link

fix: enable initial size check unconditionally #84

Closed PSeitz closed 1 year ago

PSeitz commented 1 year ago

the initial size check in the unsafe decompression was incorrectly disabled for with checked-decode

codecov[bot] commented 1 year ago

Codecov Report

Merging #84 (1319a29) into main (db6287d) will decrease coverage by 0.03%. The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   90.84%   90.81%   -0.03%     
==========================================
  Files          11       11              
  Lines        2140     2144       +4     
==========================================
+ Hits         1944     1947       +3     
- Misses        196      197       +1     
Impacted Files Coverage Δ
src/block/decompress.rs 95.49% <66.66%> (-0.22%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.