CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2021/05/23 14:30:42

Modified files:
        sys/arch/amd64/stand/efiboot: conf.c efiboot.c 

Log message:
Some machines (e.g. some Intel Macs) have a EFI memory map with more than
64 entries.  Instead of writing beyond the array that we use to construct
a BIOS compatible memory map, check that we don't overflow the array and
print a message if we do.  Bump the size of the array from 64 to 128
entries.

Issue reported and debugged by David N. Arnold.
Further input from yasuoka@

ok deraadt@ (earlier version) and yasuaka@

Reply via email to