Re: [PATCH 2/8] acpi: Fix buffer overflow in do_acpi_dump()

Tom Rini
2022-04-29T18:03:49Z

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

On Sun, Apr 03, 2022 at 10:39:09AM +0000, Andrew Scull wrote:

> When do_acpi_dump() converts the table name to upper case, pass the
> actual size of the output buffer so that the null terminator doesn't get
> written beyond the end of the buffer.
>
> Signed-off-by: Andrew Scull <ascull@google.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

--
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]