]> granicus.if.org Git - openssl/commit
Check sk_SSL_CIPHER_new_null return value
authorMatt Caswell <matt@openssl.org>
Sat, 9 May 2015 05:51:25 +0000 (13:51 +0800)
committerMatt Caswell <matt@openssl.org>
Mon, 11 May 2015 10:47:19 +0000 (11:47 +0100)
commit14def5f5375594830597cc153e11c6017f6adddf
treea64e41630782e7bc2f026648061a562c90a59951
parentfae4772c24b89526f70c74fa14a85c5c16bced9a
Check sk_SSL_CIPHER_new_null return value

If sk_SSL_CIPHER_new_null() returns NULL then ssl_bytes_to_cipher_list()
should also return NULL.

Based on an original patch by mrpre <mrpre@163.com>.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/ssl_lib.c