freebsd-dev/sys/dev/pty
Conrad Meyer b51230b720 pty(4): Use strlcpy to guarantee destination buffer isn't overrun
The devtoname() name is strcpyed into a small stack buffer.  Sure, we always
expect the name to be ttyXX (or ptyXX).  If that's the case, strlcpy() doesn't
hurt.

Reported by:	Coverity
CID:		1006768
Sponsored by:	EMC / Isilon Storage Division
2016-04-20 04:50:33 +00:00
..
pty.c pty(4): Use strlcpy to guarantee destination buffer isn't overrun 2016-04-20 04:50:33 +00:00