bugfix burn_stack
This commit is contained in:
parent
39f7c91b50
commit
9f08f2a1fd
1 changed files with 2 additions and 3 deletions
|
@ -30,7 +30,6 @@ grub_burn_stack (grub_size_t size)
|
|||
char buf[64];
|
||||
|
||||
grub_memset (buf, 0, sizeof (buf));
|
||||
size -= sizeof (buf);
|
||||
if (size > 0)
|
||||
grub_burn_stack (size);
|
||||
if (size > sizeof (buf))
|
||||
grub_burn_stack (size - sizeof (buf));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue