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

Archive Index This month's Index

Subject: [libssh2] #301: random crashes during multi thread

[libssh2] #301: random crashes during multi thread

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Fri, 10 Apr 2015 10:03:25 -0000

#301: random crashes during multi thread
---------------------+--------------------
 Reporter: alexmol | Owner:
     Type: defect | Status: new
 Priority: normal | Milestone: 1.5.0
Component: crypto | Version: 1.5.0
 Keywords: | Blocked By:
   Blocks: |
---------------------+--------------------
 It seems like random crashes may occur in RAND_bytes function. In my app I
 use libssh with 20 parallel threads, so RAND_bytes called quite agressive
 from diff threads. After I guard it with critical section - everything
 seems ok. I cannot really understand the RAND_bytes code, because it looks
 scary. Seems like it is not thread safe. Openssl version for me is 0.9.8zf

-- 
Ticket URL: <https://trac.libssh2.org/ticket/301>
libssh2 <https://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-04-10

the libssh2 team