]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/v3nametest.c: Add check for OPENSSL_malloc
authorJiasheng Jiang <jiasheng@iscas.ac.cn>
Wed, 15 Jun 2022 07:37:36 +0000 (15:37 +0800)
committerPauli <pauli@openssl.org>
Wed, 22 Jun 2022 07:05:48 +0000 (17:05 +1000)
commitb147b9daf17744d529f23b5da40397a6071a88aa
treec32e1b454449136315f464a86dc7ec622c29af97
parent5203a8dfdc209f05c7dbd9c1e5208743fcaa6752
test/v3nametest.c: Add check for OPENSSL_malloc

As the potential failure of the OPENSSL_malloc(),
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 Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18573)
test/v3nametest.c