Page MenuHomeSolus

Update brotli to 1.0.9
ClosedPublic

Authored by YakoYakoYokuYoku on Sep 15 2020, 11:40 PM.

Details

Summary

Changelog:

  • Decoder: fix integer overflow when input chunk is larger than 2GiB (CVE-2020-8927).
  • brotli -v now reports raw/compressed size.
  • Decoder: minor speed / memory usage improvements.
  • Encoder: fix rare access to uninitialized data in ring-buffer.
  • Encoder: improve support for platforms that does not have log2.
  • Python: decompress now reports error if there is unused after the end of compressed input.

Signed-off-by: Martin Reboredo <yakoyoku@gmail.com>

Test Plan

Curled a index.html.br file with curl -H "Accept-Encoding: brotli" -sS http://localhost:7878 | brotli -d and then compressed another two files.

Diff Detail

Repository
R4219 brotli
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

YakoYakoYokuYoku requested review of this revision.Sep 15 2020, 11:40 PM
JoshStrobl accepted this revision.Sep 17 2020, 9:44 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Sep 17 2020, 9:44 AM
This revision was automatically updated to reflect the committed changes.