Re: [Qemu-devel] [PATCH v1] multiboot: validate multiboot header address values

2017-09-11 Thread Paolo Bonzini
On 07/09/2017 08:32, P J P wrote: > From: Prasad J Pandit > > While loading kernel via multiboot-v1 image, (flags & 0x0001) > indicates that multiboot header contains valid addresses to load > the kernel image. These addresses are used to compute kernel > size and kernel text offset in the OS

[Qemu-devel] [PATCH v1] multiboot: validate multiboot header address values

2017-09-06 Thread P J P
From: Prasad J Pandit While loading kernel via multiboot-v1 image, (flags & 0x0001) indicates that multiboot header contains valid addresses to load the kernel image. These addresses are used to compute kernel size and kernel text offset in the OS image. Validate these address values to avoid