diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 20:45:49 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2019-06-24 20:45:49 +0300 |
commit | 2402f7873dcae719d0ebddd23bb579074519ac52 (patch) | |
tree | 38cfb73919dad7221377d90800a91fcb988cfe10 /src/common/mythread.h | |
parent | xz: Cleanup io_seek_src() a bit. (diff) | |
download | xz-2402f7873dcae719d0ebddd23bb579074519ac52.tar.xz |
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.
Diffstat (limited to 'src/common/mythread.h')
0 files changed, 0 insertions, 0 deletions