-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[misc] fix revoked bootloaders message does not display when using MBR
* Also update version to rufus-next
- Loading branch information
Showing
4 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Rufus: The Reliable USB Formatting Utility | ||
* Copyright © 2011-2023 Pete Batard <[email protected]> | ||
* Copyright © 2011-2024 Pete Batard <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -1636,7 +1636,7 @@ static DWORD WINAPI BootCheckThread(LPVOID param) | |
} | ||
|
||
// Check UEFI bootloaders for revocation | ||
if (target_type == TT_UEFI) { | ||
if (IS_EFI_BOOTABLE(img_report)) { | ||
// coverity[swapped_arguments] | ||
if (GetTempFileNameU(temp_dir, APPLICATION_NAME, 0, tmp) != 0) { | ||
// ExtractISOFile() is case sensitive, so we must use | ||
|
@@ -1731,7 +1731,7 @@ static DWORD WINAPI BootCheckThread(LPVOID param) | |
if ((partition_type == PARTITION_STYLE_MBR) && HAS_SYSLINUX(img_report)) { | ||
if (SL_MAJOR(img_report.sl_version) < 5) { | ||
IGNORE_RETVAL(_chdirU(app_data_dir)); | ||
for (i=0; i<NB_OLD_C32; i++) { | ||
for (i = 0; i<NB_OLD_C32; i++) { | ||
if (img_report.has_old_c32[i]) { | ||
if (!in_files_dir) { | ||
IGNORE_RETVAL(_mkdir(FILES_DIR)); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters