Mailing List Archive

[Bug 857] off-by-one error in setting argv[0]
http://bugzilla.mindrot.org/show_bug.cgi?id=857

Summary: off-by-one error in setting argv[0]
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: Al.Smith@gold.net


# ps -ef --forest
root 28465 1 0 Apr19 ? 00:00:01 /sys/inet/ssh/sbin/sshd
root 1271 28465 0 Apr30 ? 00:00:00 \_ sshd: ajs [priv] d
ajs 1273 1271 0 Apr30 ? 00:00:01 | \_ sshd: ajs@pts/1 d

Note the trailing 'd' on processes 1271 and 1273.

A trivial 'bug', I know...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 857] off-by-one error in setting argv[0] [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=857





------- Additional Comments From dtucker@zip.com.au 2004-05-02 14:46 -------
I can't reproduce on my RH9 box. What kind on Linux system (distribution,
kernel, glibc)? Does it have setproctitile (check for HAVE_SETPROCTITLE in
config.h).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 857] off-by-one error in setting argv[0] [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=857





------- Additional Comments From Al.Smith@gold.net 2004-05-02 18:35 -------
Slackware (happens on both 8.1 and 9.1); linux kernel is 2.4.26; glibc is 2.2.5
on the slackware-8.1 systems and 2.3.2 on the slackware 9.1 systems.

HAVE_SETPROCTITLE is not defined on either distribution.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.