summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_proc.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-13 08:41:09 +0000
committerngie <ngie@FreeBSD.org>2016-05-13 08:41:09 +0000
commit9fae7d4024a8055d666d3d9561f5026db41a56ca (patch)
treeb0872cfdf17b08932ac3cf950ef3c27a31a15674 /lib/libkvm/kvm_proc.c
parent521c8bcab1ab7f570e5d9e5933dacb78a660c21f (diff)
downloadFreeBSD-src-9fae7d4024a8055d666d3d9561f5026db41a56ca.zip
FreeBSD-src-9fae7d4024a8055d666d3d9561f5026db41a56ca.tar.gz
MFC r298337:
r298337 (by cem): 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. CID: 1006768
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud