Commit b6b094fb authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

check mval for NULL too

parent 0db46a7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;