Subject: Re: libssh crash on Mac

Re: libssh crash on Mac

From: Peter Stuge <>
Date: Thu, 7 Mar 2019 11:25:28 +0000

Leo wrote:
> File: kex.c
>             libssh2_sha1_update(fingerprint_ctx,
> session->server_hostkey,  <-------------Thread 1: EXC_BAD_ACCESS
> (code=1, address=0x0)
>                                 session->server_hostkey_len);

So you could either try to debug this, e.g. by outputing the values of
session, session->server_hostkey and session->server_hostkey_len to a
debug log, or..

> Some basic project details:
> libssh2-1.4.3 could just upgrade from this >6 year old version, and see if
your bug has already been fixed.

Received on 2019-03-07