diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-06-01 00:11:32 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-06-01 00:13:24 +0200 |
commit | fa7110a9c4bd0ece4be33998b6f9e7d4f528acc7 (patch) | |
tree | 42a0d55c1a0f0414baee929bab84eeb48ad01564 /include/sqfs/predef.h | |
parent | e2786de8c6c82d00b450faecff662d585f932286 (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 'include/sqfs/predef.h')
0 files changed, 0 insertions, 0 deletions