[fix] Stack smasher in ACPI.

From: Magnus B{ckstr|m <b_at_etek.chalmers.se>
Date: Wed, 16 Apr 2003 16:39:02 +0200 (CEST)
I'm attempting to make -CURRENT work on a compaq evo N800c, and am hitting
some issues.

(1) The Intel ACPICA contains a potential memory-corruption bug.

(2): The N800c AML uses idioms defined in ACPI 2.0 which the FreeBSD
implementation isn't aware of, and which interacts with (1) so as
to corrupt the stack and cause a panic.  Specifically, some objects
report their _CID in the form of a Package with multiple Integers in
it (ACPI 2.0 specification p.154 section 6.1.2).

(3): Compaq has defined _HIDs *with* leading asterisks in direct
violation of ACPI 2.0 p.156 section 6.1.4.  Growl.

The attached patch is a suggestion for a fix of (1) and the part
of (2) that interacts with (1).

I'm working on the rest of (2) and a workaround for (3).

-- B

Received on Wed Apr 16 2003 - 05:39:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC