From: Dr. Stephen Henson Date: Tue, 4 Dec 2012 17:26:36 +0000 (+0000) Subject: check mval for NULL too X-Git-Tag: OpenSSL_0_9_8y~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bb152dae8f47db94b5cd834a82f3a0925412b8e5;p=oweals%2Fopenssl.git check mval for NULL too --- diff --git a/apps/apps.c b/apps/apps.c index 16d61624a1..f9fe9a2af1 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2052,7 +2052,7 @@ X509_NAME *parse_name(char *subject, long chtype, int multirdn) X509_NAME *n = NULL; int nid; - if (!buf || !ne_types || !ne_values) + if (!buf || !ne_types || !ne_values || !mval) { BIO_printf(bio_err, "malloc error\n"); goto error;