Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 1995 23:31:16 +0000 ()
From:      Dmitry Kohmanyuk <dk@dog.farm.org>
To:        malenovi@cview.com (Nik Malenovic)
Cc:        freebsd-hackers@freebsd.org, screen@uni-erlangen.de
Subject:   Re: patch for PTYs not freed? (2.0.5-R) (screen problem)
Message-ID:  <199510272331.BAA00989@dog.farm.org>
In-Reply-To: <m0t8ulQ-0001F9C@tesla.cview.com> from "Nik Malenovic" at Oct 27, 95 02:48:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Nik Malenovic:
> blah. you are lucky - I can't even get screen to work on ANY of my boxes.
> all the way since 1.5.1 - I am having this darn problem - screen hangs.
> I know people had complained about it - but no one ever offered a fix.
> I tried to debug it - and the problem was that the master process was
> dying and spawned processes would just bomb out. WHY the master process
> was dying? no clue. anyway - if anyone has any clues... please let me know! :)

screen is working for me now after I have applied the following patch
(version 3.6.2, FreeBSD 2.0.5):

--- process.c.orig	Tue Sep 12 19:30:14 1995
+++ process.c	Tue Sep 12 19:31:47 1995
@@ -149,8 +149,9 @@
 extern char *multi;
 #endif
 #ifdef PASSWORD
+#include <pwd.h>
 int CheckPassword;
-char Password[30];
+char Password[_PASSWORD_LEN];
 #endif
 
 struct plop plop_tab[MAX_PLOP_DEFS];


CREDIT >>>>>
thanks to "Tam T. Lien" <lien@tam.cs.monash.edu.au> for
discovering this.
<<<<<

the problem is, when using MD5-based security, encrypted passwords are
longer than 30 chars (about 35 chars in my machine) and memory gets
overwritten.

on my box, this have cured the problem of screen freezing on startup.

p.s. I consider the screen the most essensial for me utility (not
counting tcsh and vim, of course ;-)) thanks do all the developers
and maintainers!






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510272331.BAA00989>