cURL / Mailing Lists / curl-library / Single Mail


Re: curl lib sftp crashing

From: madhusudana yn <>
Date: Thu, 2 Aug 2012 11:49:51 +0530

Hi Daniel,

I have tried with couple of newer versions of both lib curl and lib ssh2,
libssh2-1.4.2 and lib curl 7.26.0
libssh2-1.4.2 ilb curl 7.21.4 and so on.. it did not help.

to repeat the problem:

you can write an application to transfer a file from your host machine
through sftp to a remote machine that has no password set. in the URL to
curl_easy_perform(), I had passed a junk password.


On Thu, Aug 2, 2012 at 2:42 AM, Daniel Stenberg <> wrote:

> On Tue, 31 Jul 2012, madhusudana yn wrote:
> I am using curl library 7.20.1 and ssh2 library 1.3.0 on x86 platform
>> with centOS.
> Can you please first try if the most recent libcurl version still has this
> problem or not? I don't really want to chase problems we already fixed.
> Also, you might want to consider to upgrade your libssh2 version too as
> there have been significant improvements in there since 1.3.0.
> 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.
> --
> /
> ------------------------------**------------------------------**-------
> List admin:**listinfo/curl-library<>
> Etiquette:**etiquette.html<>

madhusudana yn

List admin:
Received on 2012-08-02