Re: [PATCH 1/1] grub-core/loader/efi/fdt.c: do not copy random memory

2018-12-18 Thread Daniel Kiper
On Mon, Dec 17, 2018 at 09:14:26PM +, Leif Lindholm wrote: > On Mon, Dec 17, 2018 at 10:00:24PM +0100, Heinrich Schuchardt wrote: > > 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

Re: [PATCH 1/1] grub-core/loader/efi/fdt.c: do not copy random memory

2018-12-17 Thread Leif Lindholm
On Mon, Dec 17, 2018 at 10:00:24PM +0100, Heinrich Schuchardt wrote: > 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 Whoops, yes. Reviewed-

[PATCH 1/1] grub-core/loader/efi/fdt.c: do not copy random memory

2018-12-17 Thread Heinrich Schuchardt
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 --- grub-core/loader/efi/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gr