[openssl] openssl-3.0 update

Dr. Paul Dale pauli at openssl.org
Sun Dec 19 23:54:45 UTC 2021


The branch openssl-3.0 has been updated
       via  7f2dace8d5969703e36cd9bdeff606d1f6fee3c8 (commit)
      from  022ed0dd34b6196a84cfb48b7b4c229af7709bd2 (commit)


- Log -----------------------------------------------------------------
commit 7f2dace8d5969703e36cd9bdeff606d1f6fee3c8
Author: ABautkin <A.Bautkin at aladdin-rd.ru>
Date:   Thu Dec 16 15:59:14 2021 +0300

    Fix deref after null
    
    ctx may be NULL at 178 line
    
    CLA: trivial
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17293)
    
    (cherry picked from commit 68b78dd7e40f57064b0f24728d8b544fe583599c)

-----------------------------------------------------------------------

Summary of changes:
 providers/implementations/storemgmt/file_store.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/providers/implementations/storemgmt/file_store.c b/providers/implementations/storemgmt/file_store.c
index 34cb70fdf8..fef2b1d290 100644
--- a/providers/implementations/storemgmt/file_store.c
+++ b/providers/implementations/storemgmt/file_store.c
@@ -175,7 +175,7 @@ static void *file_open_dir(const char *path, const char *uri, void *provctx)
 
     if ((ctx = new_file_ctx(IS_DIR, uri, provctx)) == NULL) {
         ERR_raise(ERR_LIB_PROV, ERR_R_MALLOC_FAILURE);
-        goto err;
+        return NULL;
     }
 
     ctx->_.dir.last_entry = OPENSSL_DIR_read(&ctx->_.dir.ctx, path);


More information about the openssl-commits mailing list