X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fct%2Fct_log.c;h=ec6fa384d52590787bd884ecc9def8de4e12804f;hp=6db4c3eba12084326131a7b9b3028c8c6893537f;hb=d3c3dfc5778ab2cca0d25c5959c8b814a334addb;hpb=fa4b82cc7cc556c03c652d40bd966ef3d4445592;ds=sidebyside diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c index 6db4c3eba1..ec6fa384d5 100644 --- a/crypto/ct/ct_log.c +++ b/crypto/ct/ct_log.c @@ -198,6 +198,8 @@ int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file) char *enabled_logs; CTLOG_STORE_LOAD_CTX* load_ctx = ctlog_store_load_ctx_new(); + if (load_ctx == NULL) + goto end; load_ctx->log_store = store; load_ctx->conf = NCONF_new(NULL); if (load_ctx->conf == NULL)