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

Ma Lin report at bugs.python.org
Mon Jul 6 05:49:54 EDT 2020


Ma Lin <malincns at 163.com> added the comment:

The docs[1] said:

    Compression filters:
            FILTER_LZMA1 (for use with FORMAT_ALONE)
            FILTER_LZMA2 (for use with FORMAT_XZ and FORMAT_RAW)

But your code uses a combination of `FILTER_LZMA1` and `FORMAT_RAW`, is this ok?

[1] https://docs.python.org/3/library/lzma.html#specifying-custom-filter-chains

----------

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


More information about the Python-bugs-list mailing list