bugzilla-daemon at mindrot.org
2002-Jul-10  10:03 UTC
[Bug 350] New: sshd leaks fd to pty for interactive sessions
http://bugzilla.mindrot.org/show_bug.cgi?id=350
           Summary: sshd leaks fd to pty for interactive sessions
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: mindrot at extern.wiggy.net
Using OpenSSH 3.4p1 with publickey authentication I get an
extra fd 10 to the pty:
[tornado;~]-15> ssh localhost
[tornado;~]-1> ls -l /proc/467/fd
total 0
lrwx------    1 wichert  wichert        64 Jul 10 12:02 0 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 1 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 10 -> /dev/pts/3
lrwx------    1 wichert  wichert        64 Jul 10 12:02 2 -> /dev/pts/3
(467 being the pid of the shell created)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
