Skip site navigation (1)Skip section navigation (2)
Date:      4 Jul 2002 02:31:10 -0000
From:      Jan Srzednicki <winfried@spitfire.303.krakow.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40163: screen w/o suid and locale
Message-ID:  <20020704023110.65635.qmail@spitfire.303.krakow.pl>

next in thread | raw e-mail | index | archive | help

>Number:         40163
>Category:       ports
>Synopsis:       screen w/o suid and locale
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 03 19:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Srzednicki
>Release:        FreeBSD 4.6-RC i386
>Organization:
Dywizjonet
>Environment:
System: FreeBSD spitfire.303.krakow.pl 4.6-RC FreeBSD 4.6-RC #5: Tue May 21 23:07:20 CEST 2002 root@spitfire.303.krakow.pl:/usr/obj/usr/src/sys/GRABKI i386


	
>Description:

Recent screen (3.9.11) has a bug with handling locales. It uses
unitialized variables in there, which turns to be a problem when
screen is set non-suid.

Here's more detailed problem description, along with the patch:

http://www.dekaino.net/screen/screen-3.9.11.seteuid-patch

	
>How-To-Repeat:

Install screen from ports. Remove the suid bit on the binary.
Set the LANG env to sth (pl_PL.ISO_8859-2 in my case).
Execute screen. You will get:

seteuid: Operation not permitted

	
>Fix:

The patch in the link above fixes this and works fine for me.

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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