34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
Index: libarchive/archive_read_support_format_iso9660.c
|
|
===================================================================
|
|
--- libarchive/archive_read_support_format_iso9660.c (revision 1983)
|
|
+++ libarchive/archive_read_support_format_iso9660.c (revision 1984)
|
|
@@ -924,7 +924,7 @@
|
|
if (parent->offset + parent->size > iso9660->volume_size) {
|
|
archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
|
|
"Directory is beyond end-of-media: %s",
|
|
- parent->name);
|
|
+ parent->name.s);
|
|
return (ARCHIVE_WARN);
|
|
}
|
|
if (iso9660->current_position < parent->offset) {
|
|
@@ -1220,7 +1220,7 @@
|
|
|
|
if (file->offset + file->size > iso9660->volume_size) {
|
|
archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
|
|
- "File is beyond end-of-media: %s", file->name);
|
|
+ "File is beyond end-of-media: %s", file->name.s);
|
|
iso9660->entry_bytes_remaining = 0;
|
|
iso9660->entry_sparse_offset = 0;
|
|
return (ARCHIVE_WARN);
|
|
@@ -1279,8 +1279,8 @@
|
|
if ((file->mode & AE_IFMT) != AE_IFDIR &&
|
|
file->offset < iso9660->current_position) {
|
|
archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
|
|
- "Ignoring out-of-order file @%x (%s) %jd < %jd",
|
|
- file,
|
|
+ "Ignoring out-of-order file @%jx (%s) %jd < %jd",
|
|
+ (intmax_t)file->number,
|
|
iso9660->pathname.s,
|
|
file->offset, iso9660->current_position);
|
|
iso9660->entry_bytes_remaining = 0;
|