crypto/evp/m_sigver.c:183: error: UNINITIALIZED_VALUE
  The value read from mdlen was never initialized.
Showing all 1 steps of the trace


crypto/evp/m_sigver.c:183:9: 
181.   	if (vctx || !r)
182.   		return r;
183. > 	return EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen);
184.   	}

int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen)
	{
	MS_STATIC EVP_MD_CTX tmp_ctx;
	unsigned char md[EVP_MAX_MD_SIZE];
	int r;
	unsigned int mdlen;
	int vctx;
	if (ctx->pctx->pmeth->signctx)
		vctx = 1;
	else
		vctx = 0;
	EVP_MD_CTX_init(&tmp_ctx);
	if (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx))
		return -1;
	if (vctx)
		{
		r = tmp_ctx.pctx->pmeth->verifyctx(tmp_ctx.pctx,
					sig, siglen, &tmp_ctx);
		}
	else
		r = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen);
	EVP_MD_CTX_cleanup(&tmp_ctx);
	if (vctx || !r)
		return r;
	return EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen);
	}
['int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, unsigned char *sig, size_t siglen)\n\t{\n\tMS_STATIC EVP_MD_CTX tmp_ctx;\n\tunsigned char md[EVP_MAX_MD_SIZE];\n\tint r;\n\tunsigned int mdlen;\n\tint vctx;\n\tif (ctx->pctx->pmeth->signctx)\n\t\tvctx = 1;\n\telse\n\t\tvctx = 0;\n\tEVP_MD_CTX_init(&tmp_ctx);\n\tif (!EVP_MD_CTX_copy_ex(&tmp_ctx,ctx))\n\t\treturn -1;\n\tif (vctx)\n\t\t{\n\t\tr = tmp_ctx.pctx->pmeth->verifyctx(tmp_ctx.pctx,\n\t\t\t\t\tsig, siglen, &tmp_ctx);\n\t\t}\n\telse\n\t\tr = EVP_DigestFinal_ex(&tmp_ctx,md,&mdlen);\n\tEVP_MD_CTX_cleanup(&tmp_ctx);\n\tif (vctx || !r)\n\t\treturn r;\n\treturn EVP_PKEY_verify(ctx->pctx, sig, siglen, md, mdlen);\n\t}']