grub/grub-core
Glenn Washburn f7a663c007 term/serial: Ensure proper NULL termination after grub_strncpy()
A large enough argument to the --port option could cause a string buffer
to be not NULL terminated because grub_strncpy() does not guarantee NULL
termination if copied string is longer than max characters to copy.

Fixes: 712309eaae04 (term/serial: Use grub_strncpy() instead of grub_snprintf() when only copying string)

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-10-12 17:27:34 +02:00
..
2023-06-01 11:45:00 +02:00
2023-10-03 15:38:48 +02:00
2023-01-19 17:39:04 +01:00
2023-06-01 11:45:00 +02:00
2023-06-01 11:45:00 +02:00
2022-03-14 16:00:27 +01:00
2017-05-03 12:49:31 +02:00
2023-06-23 00:50:38 +02:00
2023-06-23 00:50:38 +02:00
2017-05-03 12:49:31 +02:00