2 messages in com.xensource.lists.xen-devel[Xen-devel] Re: [Qemu-devel] qemu/pci...
FromSent OnAttachments
Herbert Xu27 Nov 2006 20:04 
andrzej zaborowski29 Nov 2006 06:51 
Subject:[Xen-devel] Re: [Qemu-devel] qemu/pci: Unaligned config read/write overflow
From:andrzej zaborowski (bal@zabor.org)
Date:11/29/2006 06:51:01 AM
List:com.xensource.lists.xen-devel

Hi,

On 28/11/06, Herbert Xu <herb@gondor.apana.org.au> wrote:

The default config read/write handlers allows a 4-byte read/write at address 255. This can clobber the field after the config area. This happens to be the PCIBus pointer in the PCIDevice structure.

An easier way to prevent the clobbering is grow PCIDevice::config by three bytes.

Regards, Andrew