From owner-acpi-jp@jp.FreeBSD.org Thu Apr 17 01:43:38 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id h3GGhcZ14246;
	Thu, 17 Apr 2003 01:43:38 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from caduceus.fm.intel.com (fmr02.intel.com [192.55.52.25])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id h3GGhbY14218
	for <acpi-jp@jp.FreeBSD.org>; Thu, 17 Apr 2003 01:43:37 +0900 (JST)
	(envelope-from robert.moore@intel.com)
Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37])
	by caduceus.fm.intel.com (8.11.6p2/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id h3GGZIu06052
	for <acpi-jp@jp.FreeBSD.org>; Wed, 16 Apr 2003 16:35:18 GMT
Received: from fmsmsxvs041.fm.intel.com (fmsmsxvs041.fm.intel.com [132.233.42.126])
	by petasus.fm.intel.com (8.11.6p2/8.11.6/d: inner.mc,v 1.28 2003/01/13 19:44:39 dmccart Exp $) with SMTP id h3GGaFB25444
	for <acpi-jp@jp.FreeBSD.org>; Wed, 16 Apr 2003 16:36:18 GMT
Received: from fmsmsx28.fm.intel.com ([132.233.42.28])
 by fmsmsxvs041.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2003041609394623339
 ; Wed, 16 Apr 2003 09:39:46 -0700
Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <JASSRPNS>; Wed, 16 Apr 2003 09:42:17 -0700
Message-ID: <B9ECACBD6885D5119ADC00508B68C1EA0D19BC99@orsmsx107.jf.intel.com>
From: "Moore, Robert" <robert.moore@intel.com>
To: "'acpi-jp@jp.FreeBSD.org'" <acpi-jp@jp.FreeBSD.org>,
   Magnus B{ckstr|m
	 <b@etek.chalmers.se>
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 16 Apr 2003 09:42:11 -0700
X-Sequence: acpi-jp 2120
Subject: [acpi-jp 2120] RE: [fix] Stack smasher in ACPI.
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: robert.moore@intel.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030405


Please send all fixes/suggestions to us here in the ACPI CA team.  This is
where the code comes from, and we integrate the fixes here before sending
the code out to FreeBSD, Linux, etc.

Thanks,
Bob Moore
Intel Corp.

> -----Original Message-----
> From: John Baldwin [mailto:jhb@freebsd.org]
> Sent: Wednesday, April 16, 2003 9:24 AM
> To: Magnus B{ckstr|m; acpi-jp@jp.FreeBSD.org
> Subject: [acpi-jp 2119] RE: [fix] Stack smasher in ACPI.
> 
> 
> On 16-Apr-2003 Magnus B{ckstr|m wrote:
> > 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
> 
> The best place to send ACPI patches is the acpi-jp@jp.freebsd.org
> mailing list (cc'd).  Hopefully the folks on here can review your
> attached patch.
> 
> --
> 
> John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
> "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
