提交 998f2cb8 编写于 作者: M Matt Caswell

Fix double free bug in error path

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 cf430d05
......@@ -271,6 +271,7 @@ DH *DSA_dup_DH(const DSA *r)
q = BN_dup(r->q);
if (p == NULL || g == NULL || q == NULL || !DH_set0_pqg(ret, p, q, g))
goto err;
p = g = q = NULL;
}
if (r->pub_key != NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册