[openssl/openssl] fb03e6: 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/master
  Home:   https://github.com/openssl/openssl
  Commit: fb03e6145961005a6db011d2f36660d2eed734e2
      https://github.com/openssl/openssl/commit/fb03e6145961005a6db011d2f36660d2eed734e2
  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)




More information about the openssl-commits mailing list