[ruby-cvs:61258] normal:r54097 (trunk): document OpenSSL::SSL::SSLContext#setup as MT-unsafe

normal at ruby-lang.org normal at ruby-lang.org
Mon Mar 14 10:20:14 JST 2016


normal	2016-03-14 10:20:14 +0900 (Mon, 14 Mar 2016)

  New Revision: 54097

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54097

  Log:
    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
      [ruby-core:73803] [Bug #12069]

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ssl.c


More information about the ruby-cvs mailing list