aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/dir_reader
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-11-18 16:21:12 +0100
commit9d189b6091a7011bfac8a9c09af750614d82a10d (patch)
treef25476bac144a9a07edc5ede08e649c4aaa94f05 /lib/sqfs/dir_reader
parent3bf38f07f0172b4698c205f72d923e9a37e53da7 (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/dir_reader')
0 files changed, 0 insertions, 0 deletions