[openssl/openssl] 1a01e5: Fix inadvertent NULL assignments in ternary ops

beldmit noreply at reply.github.openssl.org
Sun Jun 5 09:11:02 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80
      https://github.openssl.org/openssl/openssl/commit/1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80
  Author: Clemens Lang <cllang at redhat.com>
  Date:   2022-06-05 (Sun, 05 Jun 2022)

  Changed paths:
    M crypto/encode_decode/decoder_meth.c
    M crypto/encode_decode/encoder_meth.c
    M crypto/store/store_meth.c

  Log Message:
  -----------
  Fix inadvertent NULL assignments in ternary ops

As identified by both clang with a warning and
$> git grep -P '(?<![!=])= NULL \?'

Signed-off-by: Clemens Lang <cllang at redhat.com>
CLA: trivial

Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18469)




More information about the openssl-commits mailing list