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

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


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 497a7810bcee48781aa12d4db870f6a565bd0592
      https://github.com/openssl/openssl/commit/497a7810bcee48781aa12d4db870f6a565bd0592
  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)




More information about the openssl-commits mailing list