]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/store/store_lib.c
Fix Coverity 1503329 use after free
[thirdparty/openssl.git] / crypto / store / store_lib.c
index 696056e370b6e8bbdb83c12fae9ed3998394bdb5..3d91f159b69979ec120f9b85806e127f8eed995d 100644 (file)
@@ -215,6 +215,8 @@ OSSL_STORE_open_ex(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
          */
         (void)ossl_store_close_it(&tmpctx);
     }
+    /* Coverity false positive, the reference counting is confusing it */
+    /* coverity[pass_freed_arg] */
     OSSL_STORE_LOADER_free(fetched_loader);
     OPENSSL_free(propq_copy);
     OPENSSL_free(ctx);