Commit Graph

7 Commits

Author SHA1 Message Date
Robert Obryk eb3a31e2d3 add max_length to Python streaming decompression 2025-01-07 16:28:30 +01:00
Brotli d019271c8b Copybara import of the project:
--
f1bdfaa803 by Robert Obryk <robryk@google.com>:

add size limit to buffer

--
ef8922cee7 by Robert Obryk <robryk@google.com>:

add max_length to Python streaming decompression

PiperOrigin-RevId: 712463460
2025-01-06 03:05:56 -08:00
Robert Obryk ef8922cee7 add max_length to Python streaming decompression 2025-01-06 11:26:42 +01:00
Justin Ridgewell 5805f99a53 Ensure decompression consumes all input (#730)
* Ensure decompression consumes all input

If not, it's a corrupt stream.

* Use byte strings
2018-11-12 10:36:00 +01:00
Eugene Kliuchnikov 2c03482569
Fix "memory leak" in python tests (#652)
OOMs on RPi (1GB)
2018-03-23 02:09:00 +06:00
Alex Nicksay 019091f994 Python: Update bro_test to reference script directly (#582) 2017-08-08 10:25:39 +02:00
Eugene Kliuchnikov 1becbbf231 Update (#569)
* add misssing fclose in `brotli.c`
 * add basic tests for python `Decompressor` type
 * minor lint fixes in `_brotli.cc`
2017-06-30 13:09:50 +02:00