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

beldmit noreply at reply.github.openssl.org
Sun Jun 5 09:12:01 UTC 2022


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

(cherry picked from commit 1a01e5c29dfaf09af3960b4c8e6ec0f8171eda80)




More information about the openssl-commits mailing list