[openssl/openssl] b147b9: test/v3nametest.c: Add check for OPENSSL_malloc

pauli noreply at reply.github.openssl.org
Wed Jun 22 07:06:02 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: b147b9daf17744d529f23b5da40397a6071a88aa
      https://github.openssl.org/openssl/openssl/commit/b147b9daf17744d529f23b5da40397a6071a88aa
  Author: Jiasheng Jiang <jiasheng at iscas.ac.cn>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M test/v3nametest.c

  Log Message:
  -----------
  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 at iscas.ac.cn>

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18573)




More information about the openssl-commits mailing list