aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_ssl.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-12-04 21:22:35 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-12-04 21:22:35 +0900
commit182604c8c35a7ae7bbf097f7d8b8d2eacc817f2c (patch)
tree8e07edc4dd662b481bb6c548eee7b1f78f5bccdb /ext/openssl/ossl_ssl.c
parent72126d6c8b88abd69c3565fc3bbbd5ed1e401611 (diff)
downloadruby-openssl-182604c8c35a7ae7bbf097f7d8b8d2eacc817f2c.tar.gz
bn: keep reference to temporary OpenSSL::BN object created by GetBNPtr()
GetBNPtr() accepts both OpenSSL::BN and Ruby integers. In the latter case, it creates a temporary OpenSSL::BN internally. The OpenSSL::BN object immediately disappears from the stack and is not protected from GC. Fixes: https://github.com/ruby/openssl/issues/87
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
0 files changed, 0 insertions, 0 deletions