Репозитории ALT
S: | 9.4p1-alt1 |
5.1: | 5.3p1-alt1 |
4.1: | 5.0p1-alt3 |
4.0: | 5.0p1-alt3 |
+updates: | 4.7p1-alt1 |
3.0: | 3.6.1p2-alt6 |
Группа :: Сети/Удалённый доступ
Пакет: openssh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openssh-3.6.1p2-cvs-20040408-UT_LINESIZE.patch
Скачать
Скачать
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));