nux-kernel@vger.kernel.org; Seraphime Kirkovski
>
> Subject: [PATCH] acpi: acpica: dsutils: fix an off-by-one index
>
> This was detected by UBSAN.
> Fix it by checking whether there are any arguments prior to indexing the
> array.
>
> [0.222775] UBSAN: Undefined b
This was detected by UBSAN.
Fix it by checking whether there are any arguments prior to indexing the array.
[0.222775] UBSAN: Undefined behaviour in
drivers/acpi/acpica/dsutils.c:640:16
[0.222778] index -1 is out of range for type 'acpi_operand_object*[9]'
[0.222781] CPU: 0 PID: 1 Com
2 matches
Mail list logo