Commit 1f760760 authored by Pauli's avatar Pauli
Browse files

Coverity CID 1444951: Null pointer dereferences

parent ff6c7cc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ int crypto_get_ex_new_index_ex(OPENSSL_CTX *ctx, int class_index, long argl,
    OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data_global(ctx);

    if (global == NULL)
        goto err;
        return -1;

    ip = get_and_lock(ctx, class_index);
    if (ip == NULL)