Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-16 Thread Al Stone
On 05/15/2018 03:53 PM, Al Stone wrote: > On 05/15/2018 11:19 AM, Rafael J. Wysocki wrote: >> On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: >>> For ACPI tables that have subtables, acpi_parse_entries_array() gets used >>> to step through each of the subtables in memory. The

Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-16 Thread Al Stone
On 05/15/2018 03:53 PM, Al Stone wrote: > On 05/15/2018 11:19 AM, Rafael J. Wysocki wrote: >> On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: >>> For ACPI tables that have subtables, acpi_parse_entries_array() gets used >>> to step through each of the subtables in memory. The primary loop for

Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-15 Thread Al Stone
On 05/15/2018 11:19 AM, Rafael J. Wysocki wrote: > On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: >> For ACPI tables that have subtables, acpi_parse_entries_array() gets used >> to step through each of the subtables in memory. The primary loop for this >> was checking that the

Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-15 Thread Al Stone
On 05/15/2018 11:19 AM, Rafael J. Wysocki wrote: > On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: >> For ACPI tables that have subtables, acpi_parse_entries_array() gets used >> to step through each of the subtables in memory. The primary loop for this >> was checking that the beginning

Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-15 Thread Rafael J. Wysocki
On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: > For ACPI tables that have subtables, acpi_parse_entries_array() gets used > to step through each of the subtables in memory. The primary loop for this > was checking that the beginning location of the subtable being examined >

Re: [PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-05-15 Thread Rafael J. Wysocki
On Tue, May 1, 2018 at 2:39 AM, Al Stone wrote: > For ACPI tables that have subtables, acpi_parse_entries_array() gets used > to step through each of the subtables in memory. The primary loop for this > was checking that the beginning location of the subtable being examined > plus the length of

[PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-04-30 Thread Al Stone
For ACPI tables that have subtables, acpi_parse_entries_array() gets used to step through each of the subtables in memory. The primary loop for this was checking that the beginning location of the subtable being examined plus the length of struct acpi_subtable_header was not beyond the end of the

[PATCH v3 2/3] ACPI: ensure acpi_parse_entries_array() does not access non-existent table data

2018-04-30 Thread Al Stone
For ACPI tables that have subtables, acpi_parse_entries_array() gets used to step through each of the subtables in memory. The primary loop for this was checking that the beginning location of the subtable being examined plus the length of struct acpi_subtable_header was not beyond the end of the