diff options
author | Colin Ian King <[email protected]> | 2018-05-08 14:06:10 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2018-05-15 10:16:10 +0200 |
commit | 9df758d96df5773eb7f52878f8875f1c989993da (patch) | |
tree | fb985da3345c372aece1927add46d47418ffa985 /drivers/fpga/fpga-bridge.c | |
parent | 0e8f62ebf40f4e2bdcbbb58ce422b54d8d69018a (diff) |
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 <[email protected]>
Signed-off-by: Erik Schmauss <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions