mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-02 07:39:54 -04:00
[grub] update GRUB 2.04 core.img for Ubuntu 20.10 support
* GRUB have cherry-picked patches from the "BootHole" vulnerability fix at https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html and have applied them to their 2.04 GRUB loader. * This results in breakage with "error: symbol 'grub_calloc' not found" when using the release GRUB 2.04 version of core.img. * Therefore, we too cherry-picked some patches to apply on top of GRUB 2.04 release to make our core.img compatible with Ubuntu 20.10. * Closes #1616 * Also increase the maximum write stride for ms-sys to 64 KB (required to write the GRUB 2.05 bootloader which is larger than 32 KB) and update hash DB.
This commit is contained in:
parent
1bb2b3b126
commit
e987272287
6 changed files with 22 additions and 14 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
/* Max valid value of uiLen for contains_data */
|
||||
#define MAX_DATA_LEN 32768
|
||||
#define MAX_DATA_LEN 65536
|
||||
|
||||
/* We hijack the FILE structure for our own needs */
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue