[openssl/openssl] 3e9ce2: Checking the return of BIO_new_fp(). If it returns...

Jerry noreply at github.com
Sun Oct 23 23:01:55 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 3e9ce25c6a312300e446690e87b6231bedf727e0
      https://github.com/openssl/openssl/commit/3e9ce25c6a312300e446690e87b6231bedf727e0
  Author: xkernel <xkernel.wang at foxmail.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M apps/lib/apps.c

  Log Message:
  -----------
  Checking the return of BIO_new_fp(). If it returns NULL, then it is unnecessary to build the BIO chain and better make the caller directly return NULL

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

(cherry picked from commit fb03e6145961005a6db011d2f36660d2eed734e2)




More information about the openssl-commits mailing list