[openssl/openssl] 4f4942: test/ssl_old_test.c: Add check for OPENSSL_zalloc

Todd Short noreply at reply.github.openssl.org
Wed Jun 15 15:16:43 UTC 2022


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

  Changed paths:
    M test/ssl_old_test.c

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

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/18552)




More information about the openssl-commits mailing list