Date: Fri, 08 Sep 1995 21:11:07 +1000 From: "Tam T. Lien" <lien@tam.cs.monash.edu.au> To: ports@freebsd.org Cc: lien@tam.cs.monash.edu.au Subject: Bug fixes for screen-3.6.2 Message-ID: <199509081111.VAA02720@tam.cs.monash.edu.au>
next in thread | raw e-mail | index | archive | help
Hi, I found the following bug in screen-3.6.2 that causes it to crash under FreeBSD-current: memory is being over-writen because the variable "Password" is declared to be only 30 characters while some encrypted password is a lot longer than that. The fix is prety simple, just patch the file process.c with the followings: 153,154c153 < #include <pwd.h> < char Password[_PASSWORD_LEN]; --- > char Password[30]; and everything seems to work fine. Best regards, 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 \ ------------------------------------- ----------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509081111.VAA02720>