[ruby-cvs:62298] rhe:r55135 (trunk): openssl: Avoid reference to unset global variable in Init_openssl()

rhe at ruby-lang.org rhe at ruby-lang.org
Mon May 23 21:10:38 JST 2016


rhe	2016-05-23 21:10:38 +0900 (Mon, 23 May 2016)

  New Revision: 55135

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

  Log:
    openssl: Avoid reference to unset global variable in Init_openssl()
    
    * ext/openssl/ossl.c (Init_openssl): Avoid reference to unset global
      variable. ossl_raise() may be called before dOSSL is set. Since
      global variables default to 0 and the default value of dOSSL set in
      Init_openssl() is also Qfalse, there is no real issue but confusing.
      Patch by Bertram Scharpf <software at bertram-scharpf.de>
      [ruby-core:58264] [Bug #9101]

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


More information about the ruby-cvs mailing list