diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-11-18 16:17:29 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-12-01 18:46:52 +0100 |
commit | 9ae118f7c68785e3854cf68baf3177a94b70e0d6 (patch) | |
tree | 956775711973684ecef9d7ae5a5885a77705b2c6 /lib/common/get_path.c | |
parent | 9016e9a453f46ab1e5b82ed7a297ecb0c8be763c (diff) |
libsqfs: Fix an overzealous bounds check in the block processor
When (during fragment deduplication) a fragment block is read back
from disk and unpacked, it can happen that it is _exactly_ the
given block size. The bounds check did '>=' instead of '>' and
failed in that case with a "data corruption" error.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/common/get_path.c')
0 files changed, 0 insertions, 0 deletions