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-11-18 16:21:12 +0100 |
commit | 9d189b6091a7011bfac8a9c09af750614d82a10d (patch) | |
tree | f25476bac144a9a07edc5ede08e649c4aaa94f05 /lib/util/hex_decode.c | |
parent | 3bf38f07f0172b4698c205f72d923e9a37e53da7 (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/util/hex_decode.c')
0 files changed, 0 insertions, 0 deletions