]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/ssl_old_test.c: Add check for OPENSSL_zalloc
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Tue, 14 Jun 2022 07:06:23 +0000 (15:06 +0800)
committerTodd Short <todd.short@me.com>
Wed, 15 Jun 2022 15:05:28 +0000 (11:05 -0400)
commit4f4942a133bd57c4940fb1bc6ed7c8b67da4d8f0
tree7e6d2ac406be97f77b9b3fa90f6651139740bdf3
parent115eb945acd9a27bf81c6c8923f43768f9e487a8
test/ssl_old_test.c: Add check for OPENSSL_zalloc

As the potential failure of the OPENSSL_zalloc(),
it should be better to add the check and return
error if fails.

Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/18552)
test/ssl_old_test.c