HomeFreeBSD

acpi: Add missing error handling to acpi_pci_link_route_irqs()

Description

acpi: Add missing error handling to acpi_pci_link_route_irqs()

Otherwise the resouce buffer may have been freed when
AcpiSetCurrentResources() is called, leading to a use-after-free.

PR: 255862
Submitted by: Lv Yunlong <lylgood@foxmail.com> (original version)
MFC after: 1 week

Details

Provenance
markjAuthored on May 26 2021, 2:34 PM
Parents
rG27130028a583: ktls.4: Mention mb_use_ext_pgs in the "sysctl nodes" section
Branches
Unknown
Tags
Unknown