]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Make EROFS LZMA decoder work when exact uncomp_size isn't known.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 17 Jan 2021 16:53:34 +0000 (18:53 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sun, 17 Jan 2021 16:53:34 +0000 (18:53 +0200)
commit774cc0118ba2496581cb2621505a04bb6598cc75
tree76d2253456c4cc51813623587cfa157a0cf84985
parent421b0aa352da244075db10205cf33712f91b9835
liblzma: Make EROFS LZMA decoder work when exact uncomp_size isn't known.

The caller must still not specify an uncompressed size bigger
than the actual uncompressed size.

As a downside, this now needs the exact compressed size.
src/liblzma/api/lzma/container.h
src/liblzma/common/erofs_decoder.c