mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 09:39:22 +00:00
fix a big linux problem.
This commit is contained in:
1 parent
72ca6286fb
commit
e01f0b9514
3 files changed
+8
-2
No files matched your search
+2
-2
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
|
||||
* Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
*
|
||||
* 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
|
||||
@@ -207,7 +207,7 @@ load_image (char *kernel, char *arg, kernel_t suggested_type,
|
||||
(buffer + LINUX_SETUP_LEN_OFFSET))) << 9))
|
||||
<= LINUX_SETUP_MAXLEN)
|
||||
&& ((text_len
|
||||
= (((long) *((unsigned short *)
|
||||
= (((long) *((unsigned long *)
|
||||
(buffer + LINUX_KERNEL_LEN_OFFSET))) << 4)),
|
||||
(data_len + text_len + SECTOR_SIZE) <= ((filemax + 15) & 0xFFFFFFF0)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user