On Fri, Jul 14, 2023 at 03:33:19PM -0500, Glenn Washburn wrote:
> 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 <[email protected]>

Reviewed-by: Daniel Kiper <[email protected]>

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to