[openssl/openssl] 52f9e3: Fix missing NULL check in prov_config_test

Neil Horman noreply at github.com
Mon Apr 22 11:19:44 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 52f9e3a764ae7550b732c78f3831ab333cd8293b
      https://github.com/openssl/openssl/commit/52f9e3a764ae7550b732c78f3831ab333cd8293b
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M test/prov_config_test.c

  Log Message:
  -----------
  Fix missing NULL check in prov_config_test

coverity-1596500 caught a missing null check.  We should never hit it as
the test harness always sets the environment variable, but lets add the
check for safety

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24208)

(cherry picked from commit 6ee369cd6ec751c03879da56178e75e2691e08cb)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list