lftp-devel  

Memory fault when SFTP transfer interrupted

Iain Morgan
Wed, 13 May 2009 13:24:25 -0700

Greetings,

I am testing lftp 3.7.13's ability to automatically resume interrupted
SFTP transfers by doing something like "repeat --until-ok get -c
filename" or "get filename || get -c filename." To simulate an
interruption, I sent a SIGTERM to the ssh process or the remote
sftp-server process. In either case, interrupting the transfer in such a
manner caused lftp to die with a memory fault.

This would seem to be a but to me. Under other circumstances, killing
off the ssh process does not seem to be an issue. For example, doing an
ls of the remote server, killing the ssh process, and then doing another
ls does not result in a memory fault.

-- 
Iain