--- - branch: MAIN date: Sat Oct 5 19:19:52 UTC 2019 files: - new: '1.16' old: '1.15' path: src/lib/libc/gen/getlogin.c pathrev: src/lib/libc/gen/getlogin.c@1.16 type: modified id: 20191005T191952Z.9c9e4e2237de8ae32882312cdaa79351617443f2 log: | 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. module: src subject: 'CVS commit: src/lib/libc/gen' unixtime: '1570303192' user: uwe