aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/inode.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-18 16:17:29 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-12-01 18:46:52 +0100
commit9ae118f7c68785e3854cf68baf3177a94b70e0d6 (patch)
tree956775711973684ecef9d7ae5a5885a77705b2c6 /lib/sqfs/inode.c
parent9016e9a453f46ab1e5b82ed7a297ecb0c8be763c (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/sqfs/inode.c')
0 files changed, 0 insertions, 0 deletions