[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#531561: openssh-client: sftp segfaults with command '-'

Package: openssh-client
Version: 1:5.1p1-5
Severity: normal

sftp segfaults if first command issued is -

$ sftp localhost
Connecting to localhost...
user@localhost's password:
sftp> -
Segmentation fault

If - is a second command issued, sftp doesn't segfault

$ sftp localhost
Connecting to localhost...
user@localhost's password:
sftp> pwd
Remote working directory: /home/user
sftp> -
Remote working directory: /home/user
sftp> ^D

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-bpo.1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-client depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  dpkg            1.14.25                  Debian package management system
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libedit2        2.11~20080614-1          BSD editline and history libraries
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libncurses5     5.7+20081213-1           shared libraries for terminal hand
ii  libssl0.9.8     0.9.8g-15+lenny1         SSL shared libraries
ii  passwd          1:4.1.1-6                change and administer password and
ii  zlib1g          1:        compression library - runtime

Versions of packages openssh-client recommends:
ii  openssh-blacklist             0.4.1      list of default blacklisted OpenSS
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.3-2  X authentication utility

Versions of packages openssh-client suggests:
pn  keychain                      <none>     (no description available)
pn  libpam-ssh                    <none>     (no description available)
pn  ssh-askpass                   <none>     (no description available)

-- no debconf information

Reply to: