cURL / Mailing Lists / curl-library / Single Mail


RE: curl lib sftp crashing

From: Daniel Stenberg <>
Date: Thu, 2 Aug 2012 18:34:20 +0200 (CEST)

On Thu, 2 Aug 2012, Joe Mason wrote:

>> If the problem still exists with a recent libcurl, can you then please try
>> to help us provide a recipe to repeat the problem? It looks like
>> 'sshc->sftp_session' suddenly has turned into NULL and that's certainly a
>> lethal problem there.
> In the source code I'm looking at (about a week old) it passes
> sshc->ssh_session instead of sftp_session. It's definitely sounding like
> that's the problem.

Nah, it was just me who mistyped. sshc->ssh_session should be passed in to
libssh2_session_last_error() and it should never be NULL when done so. I don't
think the problem is that obvious since this tends to work for most people...

List admin:
Received on 2012-08-02