summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
authoranimalize <animalize@users.noreply.github.com>2019-09-12 22:20:37 +0800
committerGregory P. Smith <greg@krypto.org>2019-09-12 15:20:37 +0100
commit4ffd05d7ec47cfd0d7fc95dce851633be9663255 (patch)
treeaf336a3bd01bf0460ab0b4786790644a4f2251ad /Python/ast.c
parent2f1b857562b0f1601c9019db74c29b7d7e21ac9f (diff)
downloadcpython-git-4ffd05d7ec47cfd0d7fc95dce851633be9663255.tar.gz
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