Project

General

Profile

« Previous | Next » 

Revision d1a33d8e

Added by nagachika (Tomoyuki Chikanaga) over 5 years ago

merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd99639,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport #16196]

    Guard static variable first

    * ext/openssl/ossl_asn1.c (Init_ossl_asn1): register the static
      variable to grab an internal object, before creating the object.
      otherwise the just-created object could get collected during the
      global variable list allocation.  [Bug #16196]

    Slimed down test runtime by stressing openssl.so only [Bug #16196]


    Prefer rb_gc_register_mark_object

    * ext/openssl/ossl_asn1.c (Init_ossl_asn1): prefer
      `rb_gc_register_mark_object`, which is better for constant
      objects, over `rb_gc_register_address` for global/static
      variables which can be re-assigned at runtime.  [Bug #16196]

    Skip very time consuming test [Bug #16196]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e