]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Disassembler: Abort on an invalid/unknown AML opcode
authorBob Moore <robert.moore@intel.com>
Mon, 5 Jun 2017 08:40:34 +0000 (16:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 12:58:42 +0000 (14:58 +0200)
commitee6851167d67426c4fcf7b479112c015c6b1a4a0
tree1c923e1dd5ae8988f1df810832b62f37be33a69c
parent2de6f371f86f1438edb5754b0bd5985a62b57c3d
ACPICA: Disassembler: Abort on an invalid/unknown AML opcode

ACPICA commit ed0389cb11a61e63c568ac1f67948fc6a7bd1aeb

An invalid opcode indicates something seriously wrong with the
input AML file. The AML parser is immediately confused and lost,
causing the resulting parse tree to be ill-formed. The actual
disassembly can then cause numerous unrelated errors and faults.

This change aborts the disassembly upon discovery of such an
opcode during the AML parse phase.

Link: https://github.com/acpica/acpica/commit/ed0389cb
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/psobject.c