Re: [PATCH] ACPI / CPPC: remove initial assignment of pcc_ss_data

2017-12-15 Thread Rafael J. Wysocki
On Saturday, December 9, 2017 12:59:49 AM CET Colin King wrote: > From: Colin Ian King > > The initialization of pcc_ss_data from pcc_data[pcc_ss_id] before > pcc_ss_id is being range checked could lead to an out-of-bounds array > read. This very same initialization is

Re: [PATCH] ACPI / CPPC: remove initial assignment of pcc_ss_data

2017-12-15 Thread Rafael J. Wysocki
On Saturday, December 9, 2017 12:59:49 AM CET Colin King wrote: > From: Colin Ian King > > The initialization of pcc_ss_data from pcc_data[pcc_ss_id] before > pcc_ss_id is being range checked could lead to an out-of-bounds array > read. This very same initialization is also being performed

[PATCH] ACPI / CPPC: remove initial assignment of pcc_ss_data

2017-12-08 Thread Colin King
From: Colin Ian King The initialization of pcc_ss_data from pcc_data[pcc_ss_id] before pcc_ss_id is being range checked could lead to an out-of-bounds array read. This very same initialization is also being performed after the range check on pcc_ss_id, so we can just

[PATCH] ACPI / CPPC: remove initial assignment of pcc_ss_data

2017-12-08 Thread Colin King
From: Colin Ian King The initialization of pcc_ss_data from pcc_data[pcc_ss_id] before pcc_ss_id is being range checked could lead to an out-of-bounds array read. This very same initialization is also being performed after the range check on pcc_ss_id, so we can just remove this problematic and