summaryrefslogtreecommitdiff
path: root/sys/dev/microcode/tools
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2019-10-05 19:19:51 +0000
committeruwe <uwe@NetBSD.org>2019-10-05 19:19:51 +0000
commitbf597345e4650a88fcb89860e5a436be32d3c4d3 (patch)
tree9181f9d8e66188a1fc5125e91a1c6b61bd7e3288 /sys/dev/microcode/tools
parentdeb8a7f89dc5afd8c1ef9bae04b8004a39e1a02c (diff)
getlogin_r: use strcpy(). We check namelen before copying the result.
gcc 8 -Wstringop-overflow is uhappy when the specified bounds depend on the length of the source and is not smart enough to see the check we do. Besides we don't want the padding effect of strncpy() here.
Diffstat (limited to 'sys/dev/microcode/tools')
0 files changed, 0 insertions, 0 deletions