[openssl/openssl] 5e4211: Address coverity issue CID 1517105

Shane noreply at github.com
Fri Dec 16 18:00:02 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5e42118de2c8001b3b5fa0cae138950d5b2e1cf1
      https://github.com/openssl/openssl/commit/5e42118de2c8001b3b5fa0cae138950d5b2e1cf1
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M crypto/deterministic_nonce.c

  Log Message:
  -----------
  Address coverity issue CID 1517105

The code path for this resource leak indicates that this is a false
positive (if you look at the callers).
Rather than ignoring the warning an extra check has been added, in case
future callers do the wrong thing.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19799)




More information about the openssl-commits mailing list