[openssl/openssl] af187d: Adding missing NULL pointer check

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


  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: af187d8ed3b853310aa338978c15afa3240e6b49
      https://github.com/openssl/openssl/commit/af187d8ed3b853310aa338978c15afa3240e6b49
  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