| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-35090: Fix potential division by zero in allocator wrappers (GH-10174) | Miss Islington (bot) | 2018-10-28 | 1 | -2/+2 |
| | | | | | | | | | | | * Fix potential division by zero in BZ2_Malloc() * Avoid division by zero in PyLzma_Malloc() * Avoid division by zero and integer overflow in PyZlib_Malloc() Reported by Svace static analyzer. (cherry picked from commit 3d4fabb2a424cb04ae446ebe4428090c386f45a5) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> | ||||
| * | bpo-33916: Fix bz2 and lzma init when called twice (GH-7843) (GH-7872) | Victor Stinner | 2018-06-23 | 1 | -2/+6 |
| | | | | | | | bz2, lzma: When Decompressor.__init__() is called twice, free the old lock to not leak memory. (cherry picked from commit 9b7cf757213cf4d7ae1d436d86ad53f5ba362d55) | ||||
| * | bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) | INADA Naoki | 2018-02-13 | 1 | -1/+1 |
| | | | | (cherry picked from commit d019bc8319ea35e93bf4baa38098ff1b57cd3ee5) | ||||
| * | Issue #28275: Merge bz2 fix from 3.5 into 3.6 | Martin Panter | 2016-10-01 | 1 | -1/+3 |
| |\ | |||||
| | * | Issue #28275: Clean up to avoid use-after-free after bzip decompress failure | Martin Panter | 2016-10-01 | 1 | -1/+3 |
| | | | |||||
| * | | Got rid of redundand "self" parameter declarations. | Serhiy Storchaka | 2016-05-02 | 1 | -2/+1 |
| |/ | | | | Argument Clinic is now able to infer all needed information. | ||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | | |||||
| * | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -3/+2 |
| | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| * | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -2/+3 |
| | | |||||
| * | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -2/+1 |
| | | |||||
| * | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -1/+1 |
| | | |||||
| * | Issue #15955: Add an option to limit the output size in bz2.decompress(). | Antoine Pitrou | 2015-02-26 | 1 | -58/+201 |
| | | | | | Patch by Nikolaus Rath. | ||||
| * | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -2/+2 |
| | | | | | compiler warnings in the Modules/ subdirectory. | ||||
| * | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -6/+6 |
| | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
| * | Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch). | Larry Hastings | 2014-01-26 | 1 | -1/+3 |
| | | |||||
| * | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -9/+2 |
| | | |||||
| * | Issue #20193: The _bz2 module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 1 | -72/+92 |
| | | |||||
| * | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). | Nadeem Vawda | 2013-10-28 | 1 | -2/+20 |
| |\ | | | | | | | | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter. | ||||
| | * | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor). | Nadeem Vawda | 2013-10-28 | 1 | -2/+20 |
| | | | | | | | | | | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter. | ||||
| * | | Issue #18227: "Free" function of bz2, lzma and zlib modules has no return ↵ | Victor Stinner | 2013-07-07 | 1 | -1/+1 |
| | | | | | | | | | value (void) | ||||
| * | | Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modules | Victor Stinner | 2013-07-07 | 1 | -0/+21 |
| | | | |||||
| * | | Issue #9566: Fix compiler warning on Windows 64-bit in _bz2module.c | Victor Stinner | 2013-06-04 | 1 | -7/+7 |
| | | | |||||
| * | | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros | Victor Stinner | 2013-06-04 | 1 | -7/+5 |
| |/ | | | | multiprocessing.h: remove unused MIN and MAX macros | ||||
| * | Issue #16828: Fix error incorrectly raised by bz2.compress(''). | Nadeem Vawda | 2013-01-02 | 1 | -16/+18 |
| | | | | | Initial patch by Martin Packman. | ||||
| * | Merge #14398: Fix size truncation and overflow bugs in bz2 module. | Nadeem Vawda | 2012-10-21 | 1 | -9/+24 |
| | | |||||
| * | Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵ | Nadeem Vawda | 2011-10-13 | 1 | -12/+4 |
| | | | | | | | linear-time one. Also fix the bz2 module, which suffered from the same problem. | ||||
| * | Fix 64-bit safety issue in BZ2Compressor and BZ2Decompressor. | Nadeem Vawda | 2011-04-12 | 1 | -9/+24 |
| | | |||||
| * | Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept | Antoine Pitrou | 2011-04-03 | 1 | -0/+583 |
| file-like objects using a new `fileobj` constructor argument. Patch by Nadeem Vawda. | |||||
