mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/lib/relocator.c (malloc_in_range): Take into account that
allocate_regbeg may need to create new chunk header.
This commit is contained in:
1 parent
22e7dbb2bb
commit
f6bbabc373
2 files changed
+7
-1
No files matched your search
@@ -597,7 +597,8 @@ malloc_in_range (struct grub_relocator *rel,
|
||||
events[N].hancestor = pa;
|
||||
N++;
|
||||
events[N].type = REG_BEG_END;
|
||||
events[N].pos = grub_vtop (p + p->size) - sizeof (*r);
|
||||
events[N].pos = grub_vtop (p + p->size) - sizeof (*r)
|
||||
- sizeof (struct grub_mm_header);
|
||||
N++;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user