[openssl/openssl] 816d6e: crypto/http/http_client.c: Add the check for OPENS...

Tomas Mraz noreply at reply.github.openssl.org
Thu Jun 23 10:35:41 UTC 2022


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

  Changed paths:
    M crypto/http/http_client.c

  Log Message:
  -----------
  crypto/http/http_client.c: Add the check for OPENSSL_strdup

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

Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>

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




More information about the openssl-commits mailing list