[issue44134] lzma: stream padding in xz files
rogdham
report at bugs.python.org
Sun May 16 06:27:53 EDT 2021
rogdham <contact at rogdham.net> 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 null bytes is a valid .lzma)
2. trailing junk (i.e. non-null bytes after the stream)
The answer may be different depending on the format arg (e.g. FORMAT_AUTO vs FORMAT_XZ).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44134>
_______________________________________
More information about the Python-bugs-list
mailing list