[PATCH 0/2] stdio: fix stdio_deregister_dev()
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Fri Sep 29 02:47:15 CEST 2023
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
More information about the U-Boot
mailing list