diff -urk.orig openssh-3.6.1p2.orig/defines.h openssh-3.6.1p2/defines.h --- openssh-3.6.1p2.orig/defines.h 2003-01-24 03:50:32 +0300 +++ openssh-3.6.1p2/defines.h 2004-04-26 20:24:15 +0400 @@ -553,6 +553,10 @@ #endif +#ifndef UT_LINESIZE +# define UT_LINESIZE 8 +#endif + /* I hope that the presence of LASTLOG_FILE is enough to detect this */ #if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG) # define USE_LASTLOG diff -urk.orig openssh-3.6.1p2.orig/loginrec.c openssh-3.6.1p2/loginrec.c --- openssh-3.6.1p2.orig/loginrec.c 2003-03-10 03:23:07 +0300 +++ openssh-3.6.1p2/loginrec.c 2004-04-26 20:24:58 +0400 @@ -1354,7 +1354,7 @@ syslogin_perform_logout(struct logininfo *li) { # ifdef HAVE_LOGOUT - char line[8]; + char line[UT_LINESIZE]; (void)line_stripname(line, li->line, sizeof(line));