[openssl/openssl] a24739: 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.3
  Home:   https://github.com/openssl/openssl
  Commit: a24739f0b0f3e89f6acc88153ffbdbba4f1c455e
      https://github.com/openssl/openssl/commit/a24739f0b0f3e89f6acc88153ffbdbba4f1c455e
  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