]> git.ipfire.org Git - thirdparty/grub.git/commit
grub-core/loader/efi/fdt.c: Do not copy random memory
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 17 Dec 2018 21:00:24 +0000 (22:00 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 14 Jan 2019 10:53:52 +0000 (11:53 +0100)
commitad0ea7c444234ca519a3b528ddc70fff45810e25
tree0cf22b5076864ba5377dd44249601a21c5d62d6f
parenta791dc0e3501e2932321a257564a3f27a50673bf
grub-core/loader/efi/fdt.c: Do not copy random memory

We should not try to copy any memory area which is outside of the original
fdt. If this extra memory is controlled by a hypervisor this might end
with a crash.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/efi/fdt.c