[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu/pci: Unaligned config read/write overflow
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] qemu/pci: Unaligned config read/write overflow |
Date: |
Wed, 29 Nov 2006 14:51:24 +0000 |
Hi,
On 28/11/06, Herbert Xu <address@hidden> 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