Version 1.0.9 contains a fix to "integer overflow" problem. This happens when "one-shot" decoding API is used (or input chunk for streaming API is not limited), input size (chunk size) is larger than 2GiB, and input contains uncompressed blocks. After the overflow happens, memcpy is invoked with a gigantic num value, that will likely cause the crash. Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. The specification of the Brotli Compressed Data Format is defined in RFC 7932. Brotli is open-sourced under the MIT License. You can download and install brotli using the vcpkg dependency manager.

Features

  • Brotli uses a pre-defined dictionary, in addition to the dynamically populated ("sliding window") dictionary
  • Brotli is a compression algorithm developed by Google and works best for text compression
  • Brotli is primarily used by web servers and content delivery networks to compress HTTP content
  • Brotli's sliding window is limited to 16 MiB
  • Brotli compression is generally used as an alternative to gzip, as Brotli provides better overall compression
  • Brotli is available as a port for Android in a terminal-interface with its own shared library

Project Activity

See All Activity >

Categories

File Compression

License

MIT License

Follow Brotli

Brotli Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Brotli!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C File Compression Software

Registered

2021-06-07