Re: [PATCH] ACPICA: AML Parser: fix parse loop to correctly skip erroneous extended opcodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 17, 2018 at 02:20:51PM -0700, Erik Schmauss wrote:
> AML opcodes come in two lengths: 1-byte opcodes and 2-byte, extended opcodes.
> If an error occurs due to illegal opcodes during table load, the AML parser
> needs to continue loading the table. In order to do this, it needs to skip
> parsing of the offending opcode and operands associated with that opcode.
> 
> This change fixes the AML parse loop to correctly skip parsing of incorrect
> extended opcodes. Previously, only the short opcodes were skipped correctly.
> 
> Signed-off-by: Erik Schmauss <erik.schmauss@xxxxxxxxx>
> ---
>  drivers/acpi/acpica/psloop.c | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux