www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Segmentation fault libssh2_session_last_errno (session=0x0) at session.c:1219

Re: Segmentation fault libssh2_session_last_errno (session=0x0) at session.c:1219

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 12 Jun 2013 09:37:36 +0200 (CEST)

On Fri, 7 Jun 2013, balloon wrote:

> I'm using: libcurl (7.21.3) + openssl(0.9.8k) + libssh2(1.2.8) as SFTP
> client to try to download 1 byte from server . Client side code is like
> this:
>
> To most SFTP server, this works fine. But when we use this code to connect
> to the SFTP server that our customer provided. We get this error in step
> curl_easy_perform(curl) :

Before going further, can you please try with more modern versions of the
libraries libcurl and libssh2? Both have been updated a lot since those
versions you use and I think it is very likely that the problem you see
already has been addressed.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-06-12

the libssh2 team