commit | c8cace3d6e965c0fb537591372bf71b9357dd76c | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Mon Jun 24 20:45:49 2019 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Tue Dec 31 22:25:02 2019 +0200 |
tree | bd0adb7bb7fd71ea02ece0e92a27f06132baa868 | |
parent | 65a42741e290fbcd85dfc5db8a62c4bce5f7712c [diff] |
xz: Fix an integer overflow with 32-bit off_t. Or any off_t which isn't very big (like signed 64 bit integer that most system have). A small off_t could overflow if the file being decompressed had long enough run of zero bytes, which would result in corrupt output.