Subject: RE: Multithreaded SFTP application crash on CRYPTO_free in SUSE SLES12 environment

RE: Multithreaded SFTP application crash on CRYPTO_free in SUSE SLES12 environment

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Apr 2016 17:56:03 +0200 (CEST)

On Tue, 19 Apr 2016, Paolo Elefante wrote:

> I see that the bug I have experienced is described here
> http://trac.libssh2.org/ticket/279 and it has been fixed also in the Version
> 1.5.0 where it is highlighted in the change log as "openssl: initialize the
> digest context before calling EVP_DigestInit()"

commit 61df22c4601

> I only have one more doubt and question at the moment. I'm wondering if this
> bug fix is responsible for the random crash fixed in the 1.6.0. In the
> change log https://www.libssh2.org/changes.html I see that libssh2 version
> 1.6.0 contains a fix for: "openssl.c: fix possible segfault in case
> EVP_DigestInit fails".

commit 84590bc78f19

> Are those problems related each other?

Yes, they both fix similar problems.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2016-04-19