Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 23:29:11 +0200 (EET)
From:      Diomidis Spinellis <dds@istlab.dmst.aueb.gr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/76374: bdes(1) does not hide its arguments
Message-ID:  <200501172129.j0HLTBhX040548@istlab.dmst.aueb.gr>
Resent-Message-ID: <200501172130.j0HLUJeG054182@freefall.freebsd.org>

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

>Number:         76374
>Category:       bin
>Synopsis:       bdes(1) does not hide its arguments
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 17 21:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Diomidis Spinellis
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
AUEB
>Environment:
System: FreeBSD istlab.dmst.aueb.gr 4.10-STABLE FreeBSD 4.10-STABLE #23: Fri Oct 8 15:53:45 EEST 2004 dds@istlab.dmst.aueb.gr:/usr/obj/usr/src/sys/ISTLAB i386


>Description:
	bdes.c tries to hide its arguments by overwriting argv[],
	but this feature apparently no longer works from RELENG_4 onwards.


>How-To-Repeat:
	bdes -k secret </dev/zero >/dev/null & ps xw
>Fix:

	Use setproctitle(3), instead of manually writing over argv[].
>Release-Note:
>Audit-Trail:
>Unformatted:



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