Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!NewsServer.cc.monash.edu.au!lien From: lien@tam.cs.monash.edu.au (Tam T. Lien) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Fixes for screen-3.6.2 with FreeBSD-current Date: 08 Sep 1995 11:07:08 GMT Organization: Monash University Lines: 24 Distribution: world Message-ID: <LIEN.95Sep8210708@tam.cs.monash.edu.au> NNTP-Posting-Host: tam.cs.monash.edu.au Screen-3.6.2 contains a bug that causes it to crash under FreeBSD-current and is caused by memory being overwritten. To fix this bug, patch the file process.c with the following: 153,154c153 < #include <pwd.h> < char Password[_PASSWORD_LEN]; --- > char Password[30]; This seems to fix the problem and screen-3.6.2 now runs fine when installed suid root. Tam. -- ------------------------------------- ---------------------------------------- \ Tam T. Lien | Department of Computer Science / \ Phone: +61 3 9905 5183 | Monash University / | Fax: +61 3 9905 5146 | Clayton 3168 | / lien@bruce.cs.monash.edu.au | Victoria \ / lien@tam.cs.monash.edu.au | Australia \ ------------------------------------- ----------------------------------------