Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37422968
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Сети/Удалённый доступ
Пакет: 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));
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin