git: kernel/acpi: Sync acpi_pci_link with FreeBSD.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed May 8 11:29:00 PDT 2013
commit 06871c60cc152690c2ce3190c6a1b23101752666
Author: Sascha Wildner <saw at online.de>
Date: Wed May 8 20:26:52 2013 +0200
kernel/acpi: Sync acpi_pci_link with FreeBSD.
* Fix use-after-free bug for extended IRQ resource[1].
* Some BIOSes use an Extended IRQ resource descriptor in _PRS for a link
that uses non-ISA IRQs but use a plain IRQ resource in _CRS. However,
a non-ISA IRQ can't fit into a plain IRQ resource. If we encounter a
link like this, build the resource buffer from _PRS instead of _CRS.
* Set the correct size of the end tag in a resource buffer.
* Make MALLOC_DEFINEs that have no corresponding MALLOC_DECLAREs static.
Reviewed-and-tested-by: sephe
Summary of changes:
sys/dev/acpica/acpi_pci_link.c | 94 +++++++++++++++++++++---------------------
1 file changed, 47 insertions(+), 47 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/06871c60cc152690c2ce3190c6a1b23101752666
--
DragonFly BSD source repository
More information about the Commits
mailing list