Re: [Xen-devel] [PATCH v2] xen/acpi: off by one in read_acpi_id()

2018-03-31 Thread Boris Ostrovsky
On 03/29/2018 05:01 AM, Dan Carpenter wrote: If acpi_id is == nr_acpi_bits, then we access one element beyond the end of the acpi_psd[] array or we set one bit beyond the end of the bit map when we do __set_bit(acpi_id, acpi_id_present); Fixes: 59a568029181 ("xen/acpi-processor: C and P-state

[Xen-devel] [PATCH v2] xen/acpi: off by one in read_acpi_id()

2018-03-29 Thread Dan Carpenter
If acpi_id is == nr_acpi_bits, then we access one element beyond the end of the acpi_psd[] array or we set one bit beyond the end of the bit map when we do __set_bit(acpi_id, acpi_id_present); Fixes: 59a568029181 ("xen/acpi-processor: C and P-state driver that uploads said data to hypervisor.") S