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

Tom Rini trini at konsulko.com
Fri Apr 29 20:03:17 CEST 2022


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 at google.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/f94d351a/attachment.sig>


More information about the U-Boot mailing list