created | 2021-10-20T09:16:24Z |
---|---|
begin | 2021-05-23T00:00:00Z |
end | 2021-05-24T00:00:00Z |
path | src/sys |
commits | 1 |
date | 2021-05-23T20:30:42Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/amd64/stand/efiboot/conf.c | log | diff | annotate |
src/sys/arch/amd64/stand/efiboot/efiboot.c | log | diff | annotate | |
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@ |