[openssl/openssl] 54d31f: Coverity 1521557: Error handling issues

Pauli noreply at github.com
Thu Mar 2 23:12:28 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 54d31fe913017cc194fad9cbc6e17ac45ee80d2b
      https://github.com/openssl/openssl/commit/54d31fe913017cc194fad9cbc6e17ac45ee80d2b
  Author: Pauli <pauli at openssl.org>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M crypto/dsa/dsa_backend.c

  Log Message:
  -----------
  Coverity 1521557: Error handling issues

Check the return from DSA_set0_key and generate an error on failure.
Technically a false positive since the function always returns success.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20409)

(cherry picked from commit dd573a2fc1e8806c67420a5d6df0de175745aaf8)




More information about the openssl-commits mailing list