[openssl/openssl] 501caf: Adding missing NULL pointer check

afshinpir noreply at github.com
Mon Apr 15 08:31:05 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 501caf05fe90d4631e5ef9291f2bba8aadd010c3
      https://github.com/openssl/openssl/commit/501caf05fe90d4631e5ef9291f2bba8aadd010c3
  Author: afshinpir <afshinpir at users.noreply.github.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M crypto/store/store_lib.c

  Log Message:
  -----------
  Adding missing NULL pointer check

CLA: trivial
In the provider store API, it is not necessary to provide both open and
attach method at the same time and providing at least one of them is
enough. Adding some null pointer checks to prevent exceptions in case
of not providing both methods at the same time.

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

(cherry picked from commit bd73e1e62c4103e0faffb79cb3d34a2a92a95439)



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