Re: buffer overflow with certain ssh servers

Sean Purdy <[email protected]> Mon, 14 Mar 2011 11:08:49 +0000
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
On Mon, 14 Mar 2011, Alexander V. Lukyanov said:
> On Fri, Mar 11, 2011 at 04:09:17PM +0000, Sean Purdy wrote:
> > I'm getting a buffer overflow when connecting to certain ssh servers
> > with lftp.
> 
> Please recompile lftp with debug (configure --with-debug) and send the
> backtrace.

OK, tried that.  Unfortunately the debug version worked fine!
Only the version compiled without the debug flag gives the buffer errors.

At the moment, setting "sftp:protocol-version 2" for these particular
destinations is working with both the ubuntu default 4.0.6 and the 
4.2.0 I'm compiling.  Which might be a clue.

I'll see if an strace shows anything useful.


Thanks,

Sean