From 92c05556d17769465ec161d5ad65cb2f2a7c03b4 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Mon, 11 Sep 2017 19:06:51 +0100 Subject: [PATCH] [iso] add a warning for unsupported multi-extent ISO-9660 files * This is related to issue #1007, which libcdio still needs to fix. --- src/libcdio/iso9660/iso9660_fs.c | 6 ++++++ src/rufus.rc | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/libcdio/iso9660/iso9660_fs.c b/src/libcdio/iso9660/iso9660_fs.c index 86561663..646daaaf 100644 --- a/src/libcdio/iso9660/iso9660_fs.c +++ b/src/libcdio/iso9660/iso9660_fs.c @@ -799,6 +799,12 @@ _iso9660_dir_to_statbuf (iso9660_dir_t *p_iso9660_dir, bool_3way_t b_xa, } } + if (p_iso9660_dir->file_flags & ISO_MULTIEXTENT) + { + cdio_warn("Can't handle multi-extent file '%s' - Data will be truncated!", p_stat->filename); + free(p_stat); + return NULL; + } iso9660_get_dtime(&(p_iso9660_dir->recording_time), true, &(p_stat->tm)); diff --git a/src/rufus.rc b/src/rufus.rc index 397c08a0..5270a8db 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.17.1196" +CAPTION "Rufus 2.17.1197" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -366,8 +366,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,17,1196,0 - PRODUCTVERSION 2,17,1196,0 + FILEVERSION 2,17,1197,0 + PRODUCTVERSION 2,17,1197,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -384,13 +384,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.17.1196" + VALUE "FileVersion", "2.17.1197" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2017 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.17.1196" + VALUE "ProductVersion", "2.17.1197" END END BLOCK "VarFileInfo"