diff options
| author | uwe <uwe@NetBSD.org> | 2019-10-05 19:19:51 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2019-10-05 19:19:51 +0000 |
| commit | bf597345e4650a88fcb89860e5a436be32d3c4d3 (patch) | |
| tree | 9181f9d8e66188a1fc5125e91a1c6b61bd7e3288 /sys/dev/microcode/isp | |
| parent | deb8a7f89dc5afd8c1ef9bae04b8004a39e1a02c (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/isp')
0 files changed, 0 insertions, 0 deletions
