From 03d46b3d87cd7faac58f5a40d508b3e8ea2509de Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Wed, 8 May 2024 15:44:32 +0100 Subject: [PATCH] [misc] silence a benign log warning * Also update ChangeLog for 4.5 BETA. --- ChangeLog.txt | 12 ++++++++++++ src/drive.c | 2 +- src/rufus.rc | 10 +++++----- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index e0ff1875..6e8a9aa6 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,15 @@ +o Version 4.5 (2024.05.??) + Add a new advanced option, that adds runtime UEFI media validation to suitable images (Windows, most Linux) + Move the 'Use Rufus MBR' advanced option to a cheat mode (Alt-A) + Fix truncation of VHDX images, as well as a benign error message when writing VHD/VHDX + Fix support for Linux persistence in some configurations (Mint, Ubuntu 24.04) + Fix multiple potential vulnerabilities (with thanks to Mansour Gashasbi) + Update internal GRUB to version 2.12 + Update UEFI:NTFS to latest (now always uses the ntfs-3g driver, rather than the buggy AMI NTFS one) + Increase buffer size when copying ISO files, in an attempt to minimize the AMI NTFS UEFI driver bug + Improve partition creation handling + Don't display the WUE dialog when a conflicting 'unattend.xml' already exists + o Version 4.4 (2024.01.17) Add workaround for distros that use broken symbolic links as their UEFI bootloaders (such as Mint 21.3) Add support for GRUB 2.12 diff --git a/src/drive.c b/src/drive.c index a00437f5..7d74d9ff 100644 --- a/src/drive.c +++ b/src/drive.c @@ -1065,7 +1065,7 @@ int GetDriveNumber(HANDLE hDrive, char* path) // DiskExtents are NO_GO (which is the case for external USB HDDs...) s = DeviceIoControl(hDrive, IOCTL_STORAGE_GET_DEVICE_NUMBER, NULL, 0, &DeviceNumber, sizeof(DeviceNumber), &size, NULL); if ((!s) || (size == 0)) { - uprintf("Could not get device number for device %s %s", path, s ? "(empty data)" : WindowsErrorString()); + uuprintf("Could not get device number for device %s %s", path, s ? "(empty data)" : WindowsErrorString()); return -1; } r = (int)DeviceNumber.DeviceNumber; diff --git a/src/rufus.rc b/src/rufus.rc index 68a8a89b..6c7c7fe5 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 232, 326 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 4.5.2159" +CAPTION "Rufus 4.5.2160" FONT 9, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP @@ -397,8 +397,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 4,5,2159,0 - PRODUCTVERSION 4,5,2159,0 + FILEVERSION 4,5,2160,0 + PRODUCTVERSION 4,5,2160,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -416,13 +416,13 @@ BEGIN VALUE "Comments", "https://rufus.ie" VALUE "CompanyName", "Akeo Consulting" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "4.5.2159" + VALUE "FileVersion", "4.5.2160" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "� 2011-2024 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" VALUE "OriginalFilename", "rufus-4.5.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "4.5.2159" + VALUE "ProductVersion", "4.5.2160" END END BLOCK "VarFileInfo"