diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-31 15:36:35 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-31 15:36:35 +0900 |
commit | 565a9e9fe31b8136f8a2b126320be8d92ca25b98 (patch) | |
tree | 3763c1e02e54c7d0f1242c5912ae407eb74fbddb /ext/openssl/ossl_pkey_rsa.c | |
parent | b42cf0acbaf46e1b8eb1901711037f421f5b6852 (diff) | |
download | ruby-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