[PR #730] [MERGED] Ensure decompression consumes all input #1372

Open
opened 2026-01-29 20:53:45 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/730
Author: @jridgewell
Created: 11/2/2018
Status: Merged
Merged: 11/12/2018
Merged by: @eustas

Base: masterHead: python-consume-input


📝 Commits (2)

  • c3ab52c Ensure decompression consumes all input
  • 530f4c3 Use byte strings

📊 Changes

3 files changed (+15 additions, -2 deletions)

View changed files

📝 python/_brotli.cc (+2 -2)
📝 python/tests/decompress_test.py (+4 -0)
📝 python/tests/decompressor_test.py (+9 -0)

📄 Description

If not, it's a corrupt stream.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/730 **Author:** [@jridgewell](https://github.com/jridgewell) **Created:** 11/2/2018 **Status:** ✅ Merged **Merged:** 11/12/2018 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `python-consume-input` --- ### 📝 Commits (2) - [`c3ab52c`](https://github.com/google/brotli/commit/c3ab52c6762943f8683528ea6571f70b68ad0714) Ensure decompression consumes all input - [`530f4c3`](https://github.com/google/brotli/commit/530f4c3fb8d241e29b8f2ed0083be077ac691b18) Use byte strings ### 📊 Changes **3 files changed** (+15 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `python/_brotli.cc` (+2 -2) 📝 `python/tests/decompress_test.py` (+4 -0) 📝 `python/tests/decompressor_test.py` (+9 -0) </details> ### 📄 Description If not, it's a corrupt stream. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:53:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1372