Files
Dag-Erling Smørgrav 97b359e7b7 tarfs: Fix length calculation for file read
When the offset is within a block rather than at its beginning, the
length should be clamped to the remaining length of the block, not its
total length.

Reported by:	n0ps1ed
MFC after:	1 week
Reviewed by:	markj, emaste
Differential Revision:	https://reviews.freebsd.org/D60904

(cherry picked from commit 18bce6e65c)
2026-11-05 17:45:33 +00:00
..
2025-08-28 21:14:23 +03:00
2025-08-12 12:49:42 +00:00