commit | a98a25408b0e9b0264abcc3dabfafd9ff2ea1046 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Mon Oct 11 05:31:41 2021 +0800 |
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | Tue Oct 19 23:44:30 2021 +0800 |
tree | 9b67658c6de1ee971ff72b27df6328028f027e6a | |
parent | 4f8d7abaa413c34da9d751289849dbfb7c977d05 [diff] |
lib/xz: Move s->lzma.len = 0 initialization to lzma_reset() It's a more logical place even if the resetting needs to be done only once per LZMA2 stream (if lzma_reset() called in the middle of an LZMA2 stream, .len will already be 0). Link: https://lore.kernel.org/r/20211010213145.17462-4-xiang@kernel.org Signed-off-by: Lasse Collin <lasse.collin@tukaani.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>