Subject: Re: entry for libssh2 in the upstream tracker (

Re: entry for libssh2 in the upstream tracker (

From: Tor Arntsen <>
Date: Fri, 11 Jun 2010 10:06:24 +0200

On 06/11/10 08:59, Simon Josefsson wrote:
> Andrey Ponomarenko <> writes:
>> Hello,
>> We have recently added the libssh2 library to our public upstream tracker:
>> The system regularly checks for new releases, performs backward ABI
>> compatibility analysis and generates "shallow"-quality runtime tests.
>> Any bugs or feature requests are welcome. Thanks.
> Nice, thanks!
> It says there are 53 failed tests (segmentation faults), why is this?
> /Simon

Here's one of them (they have links on the page). Cores in libssh2_agent_list_identities(agent);
I haven't tried anything like that so I'm not familiar with what method
should be used. I just downloaded, compiled and executed to see what
they were about.


#include <stdlib.h>
#include <libssh2.h>
//auxiliary function
my_alloc(size_t p1, void** p2){
    return malloc(p1);
//auxiliary function
my_free(void* p1, void** p2){
//auxiliary function
my_realloc(void* p1, size_t p2, void** p3){
    return realloc(p1, p2);
int main(int argc, char *argv[])
    void* abstract = malloc(256);
    LIBSSH2_SESSION* session = libssh2_session_init_ex(
    LIBSSH2_AGENT* agent = libssh2_agent_init(session);
    libssh2_agent_list_identities(agent); //target call
    return 0;
Received on 2010-06-11