diff options
| author | animalize <animalize@users.noreply.github.com> | 2019-09-12 14:20:37 (GMT) |
|---|---|---|
| committer | Gregory P. Smith <greg@krypto.org> | 2019-09-12 14:20:37 (GMT) |
| commit | 4ffd05d7ec47cfd0d7fc95dce851633be9663255 (patch) | |
| tree | af336a3bd01bf0460ab0b4786790644a4f2251ad /Python/ast.c | |
| parent | 2f1b857562b0f1601c9019db74c29b7d7e21ac9f (diff) | |
| download | cpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.zip cpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.tar.gz cpython-4ffd05d7ec47cfd0d7fc95dce851633be9663255.tar.bz2 | |
bpo-21872: fix lzma library decompresses data incompletely (GH-14048)
* 1. add test case with wrong behavior
* 2. fix bug when max_length == -1
* 3. allow b"" as valid input data for decompress_buf()
* 4. when max_length >= 0, let needs_input mechanism works
* add more asserts to test case
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions
