提交 b6b094fb 编写于 作者: D Dr. Stephen Henson

check mval for NULL too

上级 0db46a7d
...@@ -2251,7 +2251,7 @@ X509_NAME *parse_name(char *subject, long chtype, int multirdn) ...@@ -2251,7 +2251,7 @@ X509_NAME *parse_name(char *subject, long chtype, int multirdn)
X509_NAME *n = NULL; X509_NAME *n = NULL;
int nid; int nid;
if (!buf || !ne_types || !ne_values) if (!buf || !ne_types || !ne_values || !mval)
{ {
BIO_printf(bio_err, "malloc error\n"); BIO_printf(bio_err, "malloc error\n");
goto error; goto error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册