aboutsummaryrefslogtreecommitdiff
path: root/tests/libtar/tar_simple.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-01 00:11:32 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-06-01 00:13:24 +0200
commitfa7110a9c4bd0ece4be33998b6f9e7d4f528acc7 (patch)
tree42a0d55c1a0f0414baee929bab84eeb48ad01564 /tests/libtar/tar_simple.c
parente2786de8c6c82d00b450faecff662d585f932286 (diff)
Fix: libsqfs: do not report out of bounds positions from meta reader
When asking the meta data reader for its current position and we *just* read to the end of a block, report the start of the next block as the current location. Otherwise, trying to *seek* to the resulting position immediately after reporting throws an out-of-bounds error. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libtar/tar_simple.c')
0 files changed, 0 insertions, 0 deletions