[openssl/openssl] 2a171e: crypto/http/http_client.c: Add the check for OPENS...

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


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 2a171e13da1accd296fd1790c6e99c136b985704
      https://github.openssl.org/openssl/openssl/commit/2a171e13da1accd296fd1790c6e99c136b985704
  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)

(cherry picked from commit 816d6e578ccc4d8ae41de77e3069762d03079d18)




More information about the openssl-commits mailing list