ACPICA: Disassembler: reset parser_state's Aml pointer when parsing bad externals

ACPICA commit e7e25137471d7f75960fdb8caf757db0426245ca

Link: https://github.com/acpica/acpica/commit/e7e25137
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Erik Schmauss 2017-11-17 15:40:15 -08:00 коммит произвёл Rafael J. Wysocki
Родитель 8f275615a6
Коммит 5c74663e20
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -382,6 +382,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
walk_state->aml -
walk_state->parser_state.aml_start);
walk_state->aml = walk_state->parser_state.aml + 2;
walk_state->parser_state.aml = walk_state->aml;
return_ACPI_STATUS(AE_CTRL_PARSE_CONTINUE);
}
#endif