[Bug 238486] Possible buffer overflow bug in sc_allocate_keyboard() of sys/dev/syscons/syscons.c

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Jul 2023 02:35:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238486

Greg Becker <greg@codeconcepts.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg@codeconcepts.com

--- Comment #1 from Greg Becker <greg@codeconcepts.com> ---
FWIW, it appears there is a similar issue at sys/dev/kbd/kbd.c:230 in function
kbd_register().

Is there any downside to using a truncated name?

Also, is there any reason not to use strlcpy()?

-- 
You are receiving this mail because:
You are the assignee for the bug.