When setting or copying the name field of a stdio device we must ensure that the target field is NUL terminated.
Avoid truncation in stdio_deregister_dev(). Heinrich Schuchardt (2): dm: serial: fix serial_post_probe() stdio: fix stdio_deregister_dev() common/stdio.c | 6 +++--- drivers/serial/serial-uclass.c | 2 +- include/stdio_dev.h | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) -- 2.40.1