]> Git Repo - qemu.git/commit - hw/pcie_host.c
pci: Common overflow prevention
authorJan Kiszka <[email protected]>
Fri, 22 Jul 2011 09:05:01 +0000 (11:05 +0200)
committerMichael S. Tsirkin <[email protected]>
Wed, 27 Jul 2011 07:57:22 +0000 (10:57 +0300)
commit42e4126b793d15ec40f3a84017e1d8afecda1b6d
treecad2ca961f45dbfca771a370cf8fd95c47cd09ba
parent85dde9a90b9d26273ef531d344b2cdfee9a6683d
pci: Common overflow prevention

Introduce pci_config_read/write_common helpers to prevent passing
accesses down the callback chain that go beyond the config space limits.
Adjust length assertions as they are no longer correct (cutting may
generate valid 3 byte accesses).

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci.c
hw/pci_host.c
hw/pci_host.h
hw/pcie_host.c
This page took 0.024239 seconds and 4 git commands to generate.