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
Differential D60904
tarfs: Fix length calculation for file read Authored by des on Tue, Oct 20, 2:42 PM. Tags None Referenced Files
Subscribers
Details
Diff Detail
|