Searched hist:"9 df758d96df5773eb7f52878f8875f1c989993da" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/acpi/acpica/ |
H A D | rsdump.c | diff 9df758d96df5773eb7f52878f8875f1c989993da Tue May 08 16:06:10 CDT 2018 Colin Ian King <colin.king@canonical.com> ACPICA: Fix potential infinite loop in acpi_rs_dump_byte_list
There is a potenial infinite loop if acpi_rs_dump_byte_list is called with a Length greater than 255 since the current loop counter is just a u8 and will wrap to zero and never reach the desired value in Length. Fix this by making the loop counter the size type as Length.
Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|