bpo-21872: fix lzma library decompresses data incompletely · Pull Request #14048 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 163 additions & 0 deletions Lib/test/test_lzma.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix :mod:`lzma`: module decompresses data incompletely. When decompressing a
FORMAT_ALONE format file, and it doesn't have the end marker, sometimes the
last one to dozens bytes can't be output. Patch by Ma Lin.
28 changes: 22 additions & 6 deletions Modules/_lzmamodule.c