[openssl/openssl] 4e720f: Fix Coverity 1201740 & 1201712: uninitialised values

pauli noreply at reply.github.openssl.org
Sun May 8 07:50:21 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 4e720f12fade8d433e5a0eb3ead9017193dac6e7
      https://github.openssl.org/openssl/openssl/commit/4e720f12fade8d433e5a0eb3ead9017193dac6e7
  Author: Pauli <pauli at openssl.org>
  Date:   2022-05-08 (Sun, 08 May 2022)

  Changed paths:
    M crypto/evp/e_des.c
    M crypto/evp/e_des3.c

  Log Message:
  -----------
  Fix Coverity 1201740 & 1201712: uninitialised values

These are both false positives since the `d` array is initialised by
the `DES_cfb_encrypt()` call via the `l2cn` macro.  Rather than ignoring them
and having them crop up later, it's easier to just add an initialiser.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre at ncp-e.com>
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
(Merged from https://github.com/openssl/openssl/pull/17894)




More information about the openssl-commits mailing list