Module Name: src Committed By: uwe Date: Sat Oct 5 19:19:52 UTC 2019
Modified Files: src/lib/libc/gen: getlogin.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libc/gen/getlogin.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.