summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-12 14:41:11 (GMT)
committerGitHub <noreply@github.com>2019-09-12 14:41:11 (GMT)
commit824407f76e211a2a19c94d5cb1f39fc422ab62ee (patch)
tree3e030104760578a5b37e69be8cf7c534035ab079 /Python/Python-ast.c
parent8976359c598f56825648f4e5397b78c5d14ea13c (diff)
downloadcpython-824407f76e211a2a19c94d5cb1f39fc422ab62ee.zip
cpython-824407f76e211a2a19c94d5cb1f39fc422ab62ee.tar.gz
cpython-824407f76e211a2a19c94d5cb1f39fc422ab62ee.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 (cherry picked from commit 4ffd05d7ec47cfd0d7fc95dce851633be9663255) Co-authored-by: animalize <animalize@users.noreply.github.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions