diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-07-09 19:39:49 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-07-09 19:51:43 +0200 |
commit | 729850cf514be9052c804874ed09ac75d3c45eea (patch) | |
tree | 22a15e49a1204f0a6681d5bd38f0ce98de3d75b0 /lib/zlib/crc32.c | |
parent | 531d77736ece1398be75cf9b191a06b2e51f6304 (diff) |
tar2sqfs: Fix integer truncation issue when appending data to a tarball
The data is processed 2G at a time to avoid this exact issue, but the
check was skipped on 64 bit systems, since the function *used to* use
size_t instead of sqfs_u32.
This commit removes the second check.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/zlib/crc32.c')
0 files changed, 0 insertions, 0 deletions