]> git.ipfire.org Git - thirdparty/libarchive.git/commit
iso9660: Add Rock Ridge regression test 2972/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 20 Apr 2026 18:29:17 +0000 (20:29 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 26 May 2026 19:01:38 +0000 (21:01 +0200)
commitf105880eb078f6d9ff35d71c27e27e2fa9082d59
tree2bdb92abfbddf792759843322061551fe426b26b
parent8b56378deb271036f0a48948820844dff9f0e6fc
iso9660: Add Rock Ridge regression test

The Rock Ridge rr_move functionality for paths with a depth larger than 8
has a few bugs in it. For one, it might loop over the same entries over
and over. And second, rr_move/ directory entries are not verified to be
unique. Both issues can lead to NULL pointer dereferences.

Add a test case which highlights the NULL pointer dereference.

Based on issue #2936.
Makefile.am
libarchive/test/CMakeLists.txt
libarchive/test/test_write_format_iso9660_rockridge.c [new file with mode: 0644]