Follow-up Comment #1, bug #50715 (project grub): Well, this code is run as the very first thing, before any memory allocator is active. I guess we could use different, more "safe" stack location until memory size is detected. But that also means we must restrict max image size, so we still need to have some safe limit statically. In which case we can simply move stack lower.
_______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50715> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub