@@ -, +, @@ 248 | strcat (tty_name, ut->ut_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from ../lib/prototypes.h:52, from logoutd.c:42: 62 | char ut_line[UT_LINESIZE] | ^~~~~~~ --- shadow/src/logoutd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/shadow/src/logoutd.c +++ a/shadow/src/logoutd.c @@ -245,7 +245,7 @@ int main (int argc, char **argv) tty_name[0] = '\0'; } - strcat (tty_name, ut->ut_line); + strncat (tty_name, ut->ut_line, UT_LINESIZE); #ifndef O_NOCTTY #define O_NOCTTY 0 #endif --