[issue44134] lzma: stream padding in xz files

2021-05-16 Thread rogdham
rogdham added the comment: It must be decided what to do in the following cases, which are not valid per the XZ file specification, but supported by the lzma module (and tested): 1. different format concatenated together (e.g. a .xz and a .lzma); this somehow includes tailing null bytes (12

[issue44134] lzma: stream padding in xz files

2021-05-14 Thread rogdham
Change by rogdham : Added file: https://bugs.python.org/file50045/example2.xz ___ Python tracker <https://bugs.python.org/issue44134> ___ ___ Python-bugs-list mailin

[issue44134] lzma: stream padding in xz files

2021-05-14 Thread rogdham
New submission from rogdham : Hello, The lzma module does not works well with XZ stream padding. Depending on the case, it may work; or it may stops the stream prematurely without error; or an error may be raised; or no error may be raised when it must. In the XZ file format, stream padding