diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-23 12:10:38 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-23 12:10:38 +0000 |
commit | bc54891f454440b0da8cd5e97ab8f96760ad67dd (patch) | |
tree | 3c45b82dd42c87859b91980bdd614f7d82011bf0 /ChangeLog | |
parent | 5453a63f5a6e4af5a19c25238e0406ac6b0b6941 (diff) | |
download | ruby-bc54891f454440b0da8cd5e97ab8f96760ad67dd.tar.gz |
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@bertram-scharpf.de>
[ruby-core:58264] [Bug #9101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Mon May 23 21:09:06 2016 Kazuki Yamaguchi <k@rhe.jp> + + * 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@bertram-scharpf.de> + [ruby-core:58264] [Bug #9101] + Mon May 23 20:32:16 2016 Kazuki Yamaguchi <k@rhe.jp> * ext/openssl/ossl_asn1.c, ext/openssl/ossl_bn.c, |