[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Qemu PCI potential buffer overrun patch
I've been digging around the guts of ioemu's pci support and noticed that it is possible for a pci_register_device (in tools/ioemu/hw/pci.c to create a device structure s.t. it will buffer overflow before completing the routine (when it sets the irq value). The attached patch makes sure that the instance size as specified is at least as big as a PCIDevice structure that the routine is filling out. John Zulauf Intel Corporation == Views expressed reflect only those of the author, not his employer == Attachment:
pci.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |