DragonFly commits List (threaded) for 2013-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel/acpi: Sync acpi_pci_link with FreeBSD.
commit 06871c60cc152690c2ce3190c6a1b23101752666
Author: Sascha Wildner <saw@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]