[issue41210] LZMADecompressor.decompress(FORMAT_RAW) truncate output when input is paticular LZMA+BCJ data

Hiroshi Miura report at bugs.python.org
Tue Jul 7 04:30:28 EDT 2020


Hiroshi Miura <miurahr at linux.com> added the comment:

Thank you for information about similar problem.

This problem is observed and reported on 7-zip library project, https://github.com/miurahr/py7zr/issues/178.
py7zr heavily depend on lzma FORMAT_RAW interface.

Fortunately  7-zip container format has size database, then library can know output is enough or not.

In reported case, the library/caller become a state that all input data has send into decompressor,  but decompressor does not output anything.

I'd like to wait upstream reaction.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41210>
_______________________________________


More information about the Python-bugs-list mailing list