]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc.c
multiboot: Limit number of multiboot modules
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Sun, 11 Oct 2009 13:48:41 +0000 (15:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 15 Oct 2009 14:32:04 +0000 (09:32 -0500)
commitbf854d65a5db2380ef2f0e8014f79a405c523b94
treef4157bcb5e1633509efa17f1223ccb72fea5dc15
parent3f3d583efdb10e7c98a9bb501e11ccfb0fc638fa
multiboot: Limit number of multiboot modules

Add size checks to avoid overwriting the multiboot structure
when too many modules are loaded.

Patchworks-ID: 35700
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c