Lossless compression algorithm
Go to file
Miro Hrončok 3e7897db4b Accept output_buffer_limit as an alias for max_output_length
...in Decompressor.process() for forward compatibility with upstream 1.2.0

The max_output_length name was never in any upstream brotli release.
It was added after v1.1.0 (commits eb3a31e and f1bdfaa)
and then renamed to output_buffer_limit in commit 9686382
before the first release candidate v1.2.0rc1.
So output_buffer_limit is the only name
that ever shipped in a tagged release (v1.2.0).

CVE-2025-66471 fix in python-urllib3 uses the output_buffer_limit name.

Backporting upstream commit 9686382 to rename the argument
would potentially break backwards compatibility of what was already shipped here,
so this custom patch instead makes it so that the function accepts both names.

Resolves: RHEL-221151

Assisted-By: Claude Opus 4.6
2026-07-30 18:07:15 +02:00
.fmf Add missing .fmf directory. 2025-08-01 09:58:43 -04:00
tests Add gating based on c8s one 2024-08-08 10:16:49 +02:00
.gitignore Switch Source0 URL to recommended format 2019-03-28 14:51:38 -05:00
brotli.spec Accept output_buffer_limit as an alias for max_output_length 2026-07-30 18:07:15 +02:00
ci.fmf add gating and ci metadata. 2025-07-10 07:48:31 -04:00
CVE-2025-6176-brotli-1234.patch Resolves: RHEL-133984 2025-12-18 14:11:27 +05:30
gating.yaml add gating and ci metadata. 2025-07-10 07:48:31 -04:00
output_buffer_limit-alias.patch Accept output_buffer_limit as an alias for max_output_length 2026-07-30 18:07:15 +02:00
plans.fmf add gating and ci metadata. 2025-07-10 07:48:31 -04:00
RHEL-32153-kBrotliBitMask-bounds.patch Check BitMask(n) n value for kBrotliBitMask[n] bounds 2024-09-11 14:08:40 +02:00
sources update to 1.1.0 rhbz#2233368 2023-09-15 11:14:52 -05:00