Re: [PATCH 1/2] dm: serial: fix serial_post_probe()

2023-10-10 Thread Tom Rini
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

Re: [PATCH 1/2] dm: serial: fix serial_post_probe()

2023-10-01 Thread Simon Glass
On Thu, 28 Sept 2023 at 18:47, 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 ucl

[PATCH 1/2] dm: serial: fix serial_post_probe()

2023-09-28 Thread Heinrich Schuchardt
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 --- drive