Comment 2 for bug 1904601

Revision history for this message
Greg Camp (gcamp806) wrote :

This command will trigger the segfault. This is predicated on the <user> having an SSH-enabled account at <host>.

lftp sftp://user@host -e "ls; bye"

The output should be an ls listing of the user's home directory and a clean exit / return to the shell prompt. But instead of clean exit the output will be similar to this:

<directory listing>
lftp: RateLimit.cc:30: void RateLimit::AddXfer(int): Assertion `xfer_number>=0' failed.
Aborted (core dumped)