cvs commit: src/sys/dev/acpica acpi_pci_link.c

Nate Lawson njl at FreeBSD.org
Mon Nov 29 22:55:43 PST 2004


njl         2004-11-30 06:55:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_pci_link.c 
  Log:
  Make sure the link array is big enough to hold both _CRS and _PRS
  resource lists.  It used to be sized based only on _CRS, hence _PRS could
  perform an out-of-bounds access if it was larger (i.e., when there are
  dependent functions).  Add asserts to detect this case.  Note, this is
  only a temporary fix and I believe _PRS and _CRS should have separate
  arrays.
  
  Also, fix a typo where the wrong irq was being check for the APIC case.
  
  Submitted by:   tegge
  
  Revision  Changes    Path
  1.36      +30 -8     src/sys/dev/acpica/acpi_pci_link.c


More information about the cvs-src mailing list