Bug#531561: openssh-client: sftp segfaults with command '-'
forwarded 531561 https://bugzilla.mindrot.org/show_bug.cgi?id=1691
thanks
On Tue, Jun 02, 2009 at 02:16:37PM +0300, Petri Laakso wrote:
> 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
> $
Thanks. I've sent a patch upstream as bug #1691.
--
Colin Watson [cjwatson@debian.org]
Reply to: