Skip to content

Conversation

@elrido
Copy link

@elrido elrido commented Oct 15, 2022

Released on October 13th, from the release notes:

Version 1.2.13 has these key updates from 1.2.12:

  • Fix a bug when getting a gzip header extra field with inflateGetHeader(). This remedies CVE-2022-37434.
  • Fix a bug in block type selection when Z_FIXED used. Now the smallest block type is selected, for better compression.
  • Fix a configure issue that discarded the provided CC definition.
  • Correct incorrect inputs provided to the CRC functions. This mitigates a bug in Java.
  • Repair prototypes and exporting of the new CRC functions.
  • Fix inflateBack to detect invalid input with distances too far.

I've also bumped the used npm modules and on my machine get these results running the benchmark:

Benchmark

  • NodeJS: v10.19.0
  • OS: Ubuntu 20.04 LTS
  • CPU: Intel Core i5 2.3GHz
  • Memory: 8GB
## lorem_1mb.txt size: 1000205
wasm x 10.02 ops/sec ±0.73% (29 runs sampled)
pako x 8.99 ops/sec ±1.17% (27 runs sampled)
native x 16.86 ops/sec ±0.89% (45 runs sampled)
Deflate: Fastest is native
## deflated lorem_1mb.txt size: 257012
wasm x 157 ops/sec ±1.21% (79 runs sampled)
pako x 123 ops/sec ±1.05% (77 runs sampled)
native x 251 ops/sec ±1.07% (83 runs sampled)
Inflate: Fastest is native

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant