diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-11-12 21:23:49 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-11-12 21:24:43 +0000 |
| commit | a34a57d4b4eba88dfa5541d7d77b63b01c1a1a9a (patch) | |
| tree | f4532aabd59e66cf9abd1a94609f3cee5674ee7b /lib/libmp/Makefile.depend | |
| parent | 4c05ff1d5ad206d6074151f747a1dd272487555c (diff) | |
* 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
