From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: Re: [PATCH] invalid resource lists and extra checking Date: Mon, 22 Sep 2003 08:03:33 -0700 (PDT) Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030922080137.G40076@root.org> References: <20030918221109.L16619@root.org> <20030922145315.GC13165@wotan.suse.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <20030922145315.GC13165-B4tOwbsTzaBolqkO4TVVkw@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Andi Kleen Cc: acpi-jp-l7ZBCLq5RC066kwqclu8Pg@public.gmane.org, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Mon, 22 Sep 2003, Andi Kleen wrote: > > --- rsaddr.c 13 Jul 2003 22:43:31 -0000 1.1.1.11 > > +++ rsaddr.c 19 Sep 2003 04:59:50 -0000 > > @@ -168,6 +168,10 @@ > > Buffer += 1; > > ACPI_MOVE_16_TO_16 (&Temp16, Buffer); > > > > + /* Check for the minimum length. */ > > + if (Temp16 < 13) > > + return_ACPI_STATUS (AE_AML_INVALID_RESOURCE_TYPE); > > For which acpica version is this exactly? I tried to apply it to a Linux > tree which has nearly the latest, but it rejected on every hunk. > The file is also repetive enough that hand applying looks a bit risky. > > Can you perhaps post a patch against the latest ACPICA version? This was against 0619. Things can't have diverged THAT much since the only public release after this was 0714 and the linux pushes have been mostly in the linux-specific code (i.e. PIC). I have a feeling you didn't run the patch through the LiNuXuLaTor de-caps tool and that's why it rejected. Apply it against a stock acpica unix dist and then de-caps it. -Nate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf