aboutsummaryrefslogtreecommitdiff
path: root/lib/libmp/Makefile.depend
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-11-12 21:23:49 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-11-12 21:24:43 +0000
commita34a57d4b4eba88dfa5541d7d77b63b01c1a1a9a (patch)
treef4532aabd59e66cf9abd1a94609f3cee5674ee7b /lib/libmp/Makefile.depend
parent4c05ff1d5ad206d6074151f747a1dd272487555c (diff)
tarfs: Fix support for large filesHEADmain
* When fast-forwarding through a zstd frame, we incorrectly used the min() inline function instead of the MIN() macro. The function truncates the result to unsigned int, resulting in a decompression error when trying to seek more than 4 GB into the frame. * POSIX states that a size extended header record overrides the size field in the header if present, and that one must be included if the size of the file exceeds 8 GB (the size field maxes out at 64 GB). * Reduce repetition in the exthdr parser by deduplicating the syntax error handler. MFC after: 1 week Sponsored by: Klara, Inc. Fixes: 69d94f4c7608 ("Add tarfs, a filesystem backed by tarballs.") Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D53718
Diffstat (limited to 'lib/libmp/Makefile.depend')
0 files changed, 0 insertions, 0 deletions