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

You Might Also Like
Enterprise-Grade Monitoring - Zero Compromises Icon
Enterprise-Grade Monitoring - Zero Compromises

PRTG delivers deep visibility and proactive alerts for complex IT. Monitor, analyze, and optimize - all in one platform.

Managing a large, distributed IT environment demands more than basic monitoring. PRTG provides a unified view of your entire infrastructure - across sites, clouds, and hybrid setups. Advanced analytics, customizable dashboards, and granular access controls empower your team to detect issues early and respond fast. Automate reporting, ensure compliance, and scale effortlessly as your network grows. With PRTG, you get reliability, flexibility, and the insights you need to keep your business running at peak performance.
Start Your Free PRTG Trial
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