[ruby-core:74516] [Ruby trunk Bug#12069] [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe

From: usa@...
Date: 2016-03-24 07:36:04 UTC
List: ruby-core #74516
Issue #12069 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED

----------------------------------------
Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
https://bugs.ruby-lang.org/issues/12069#change-57639

* Author: Eric Wong
* Status: Closed
* Priority: Normal
* Assignee: Zachary Scott
* ruby -v: 
* Backport: 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
document OpenSSL::SSL::SSLContext#setup as MT-unsafe

On a cursory inspection, using rb_block_call for extra_chain_cert
is thread-unsafe.  There may be other instances of thread-unsafe
behavior in this method, but one is enough.

* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe


---Files--------------------------------
0001-document-OpenSSL-SSL-SSLContext-setup-as-MT-unsafe.patch (1.12 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next