Re: [PATCH v3 1/2] ACPI / tables: simplify acpi_parse_entries

2015-10-15 Thread Rafael J. Wysocki
On Thursday, October 15, 2015 09:57:38 AM Al Stone wrote: > On 10/15/2015 09:44 AM, Sudeep Holla wrote: > > Hi Rafael, > > > > On 01/10/15 16:11, Sudeep Holla wrote: > >> acpi_parse_entries passes the table end pointer to the sub-table entry > >> handler. acpi_parse_entries itself could validate t

Re: [PATCH v3 1/2] ACPI / tables: simplify acpi_parse_entries

2015-10-15 Thread Al Stone
On 10/15/2015 09:44 AM, Sudeep Holla wrote: > Hi Rafael, > > On 01/10/15 16:11, Sudeep Holla wrote: >> acpi_parse_entries passes the table end pointer to the sub-table entry >> handler. acpi_parse_entries itself could validate the end of an entry >> against the table end using the length in the su

Re: [PATCH v3 1/2] ACPI / tables: simplify acpi_parse_entries

2015-10-15 Thread Sudeep Holla
Hi Rafael, On 01/10/15 16:11, Sudeep Holla wrote: acpi_parse_entries passes the table end pointer to the sub-table entry handler. acpi_parse_entries itself could validate the end of an entry against the table end using the length in the sub-table entry. This patch adds the validation of the sub

[PATCH v3 1/2] ACPI / tables: simplify acpi_parse_entries

2015-10-01 Thread Sudeep Holla
acpi_parse_entries passes the table end pointer to the sub-table entry handler. acpi_parse_entries itself could validate the end of an entry against the table end using the length in the sub-table entry. This patch adds the validation of the sub-table entry end using the length field.This will hel