[openssl/openssl] 3cb370: test/v3nametest.c: Add check for OPENSSL_malloc
    pauli 
    noreply at reply.github.openssl.org
       
    Wed Jun 22 07:06:34 UTC 2022
    
    
  
  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 3cb3708c2bf86dbf0cb8a1ada0964738c96a9b07
      https://github.openssl.org/openssl/openssl/commit/3cb3708c2bf86dbf0cb8a1ada0964738c96a9b07
  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)
(cherry picked from commit b147b9daf17744d529f23b5da40397a6071a88aa)
    
    
More information about the openssl-commits
mailing list