bin/76374: bdes(1) does not hide its arguments
Diomidis Spinellis
dds at istlab.dmst.aueb.gr
Mon Jan 17 13:30:20 PST 2005
>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 at 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:
More information about the freebsd-bugs
mailing list