Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 2025 23:07:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291567] bsdtar produces corrupted gzip/zstd streams when writing compressed archives to stdout, while the same commands using -f file create valid archives.
Message-ID:  <bug-291567-227-7MHq3xQELx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291567-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291567

--- Comment #4 from Dmitrij Nexus <fbsd.4f6a@nexus.tel> ---
(In reply to Dmitrij Nexus from comment #3)

There is positive progress on the upstream issue (libarchive/libarchive#2810).

dag-erling commented:
"If libarchive claims to produce a zstd stream then that stream should be
valid. 
Padding cannot just be zeroes but must be in the form of a zstd skippable
frame. 
I will try to come up with a patch."
https://github.com/libarchive/libarchive/issues/2810#issuecomment-3647256760

I agree - producing invalid compressed streams is unacceptable regardless of 
"documented behavior". The output should be valid for the format it claims to
be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291567-227-7MHq3xQELx>