[openssl/openssl] f20595: evp_test.c: There are now 3 parameters possible fo...

Tomáš Mráz noreply at github.com
Mon Oct 30 10:03:04 UTC 2023


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: f205958d9f9a2ead9edc088b0d3f060ee7c5b8c4
      https://github.com/openssl/openssl/commit/f205958d9f9a2ead9edc088b0d3f060ee7c5b8c4
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M test/evp_test.c

  Log Message:
  -----------
  evp_test.c: There are now 3 parameters possible for digests

In digest_test_run() there are now 3 parameters possible plus
the sentinel value. In reality we will never use all three
at once but Coverity rightfully complains that it is possible
to overflow the params array.

Fixes Coverity 1548054

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22521)

(cherry picked from commit 497a7810bcee48781aa12d4db870f6a565bd0592)




More information about the openssl-commits mailing list