
10 Oct
2023
10 Oct
'23
2:58 p.m.
On Fri, Sep 29, 2023 at 02:47:16AM +0200, Heinrich Schuchardt wrote:
The size of the name of a udevice is not limited.
When setting the fixed sized name field of a stdio device we must ensure that the target string is NUL terminated to avoid buffer overflows.
Fixes: 57d92753d4ca ("dm: Add a uclass for serial devices") Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom