]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Support ISOs with a non-standard PVD layouts (#2238)
authorTim Kientzle <kientzle@acm.org>
Mon, 17 Jun 2024 03:22:14 +0000 (20:22 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2024 03:22:14 +0000 (20:22 -0700)
commit2cadb8708940ae09be0e70a628fe81bbdfb6f02f
tree1f8f71ea714c901cd7b7697afbe179f787195941
parent2d8a5760c5ec553283a95a1aaca746f6eb472d0f
Support ISOs with a non-standard PVD layouts (#2238)

The CSRG ISOs have a non-standard PVD layout with a 68-byte root
directory record (rather than the 34-byte record required by
ECMA119/ISO9660). I built a test image with this change and modified the
ISO9660 reader to accept it.

While I was working on the bid logic to recognize PVDs, I added a number
of additional correctness checks that should make our bidding a bit more
accurate. In particular, this should more than compensate for the
weakened check of the root directory record size.

Resolves #2232
Makefile.am
libarchive/archive_read_support_format_iso9660.c
libarchive/test/test_read_format_iso_3.iso.Z.uu [new file with mode: 0644]
libarchive/test/test_read_format_iso_Z.c