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

(cherry picked from commit 4cf33275289088e3b0a913a44b5cd549e348094d)

Details

Provenance
markjAuthored on May 26 2021, 2:34 PM
Parents
rG19888502bf39: tests/libalias: Test LibAliasIn and redirection
Branches
Unknown
Tags
Unknown