There is a second bug though...
A possible stack memory-leak is possible. Replace the
first line with the following to avoid the memory leak:
if (grub_errno != GRUB_ERR_NONE) {
grub_error_push();
}
Otherwise, a useless push is done.
leoJ.
Vesa Jääskeläinen wrote:
Tomáš Ebenlen
Ruslan Nikolaev wrote:
I have seen that grub2 has a 4Gb limit when detecting memory size and
mmap. I think that is not good for both x86 and x86_64. i686 for
example can use 64 Gb of RAM. As for x86_64 it is 2^52 bytes. I can
try to fix this... But I also need an answer about ELF64 multiboot.