aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_pkey_rsa.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-03-31 15:36:35 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-03-31 15:36:35 +0900
commit565a9e9fe31b8136f8a2b126320be8d92ca25b98 (patch)
tree3763c1e02e54c7d0f1242c5912ae407eb74fbddb /ext/openssl/ossl_pkey_rsa.c
parentb42cf0acbaf46e1b8eb1901711037f421f5b6852 (diff)
downloadruby-openssl-565a9e9fe31b8136f8a2b126320be8d92ca25b98.tar.gz
ssl: check return value of SSL_set_fd()
SSL_set_fd() may fail with 0 return if malloc() fails. Check that and raise an exception to avoid potential crash.
Diffstat (limited to 'ext/openssl/ossl_pkey_rsa.c')
0 files changed, 0 insertions, 0 deletions