Following up on this, an openSUSE user found an issue that seems to be
related as it's caused by the same commit (b8d8a61b), so I'm reporting
it here instead of starting a new thread.
Original report here: https://bugzilla.opensuse.org/show_bug.cgi?id=1271272

Since the mentioned commit, tar fails to extract the following archive:
https://download.virtualbox.org/virtualbox/7.2.12/Oracle_VirtualBox_Extension_Pack-7.2.12.vbox-extpack

By which I mean, it returns 0 and reports no errors, but skips every
file present in the archive.
I've verified the described behavior is the same on current master
branch (commit 08c3fc2e as of now).
bsdtar extracts the files successfully.

I've only briefly investigated this, but it looks to me like the
archive member "./" having size 4096 causes tar to incorrectly skip
some blocks in the archive:
$ ../src/tar --block-number -tvf
./Oracle_VirtualBox_Extension_Pack-7.2.12.vbox-extpack
block 0: drwxr-xr-x root/wheel     4096 2026-06-26 12:30 ./
block 9: ** Block of NULs **

Before b8d8a61b the same command would correctly output all blocks,
without skipping to block 9.

Reply via email to