From: Dr. Stephen Henson Date: Tue, 4 Dec 2012 17:26:04 +0000 (+0000) Subject: check mval for NULL too X-Git-Tag: OpenSSL_1_0_2-beta1~551 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38680fa4669f93f2670fa5b04691256c3a200305;p=oweals%2Fopenssl.git check mval for NULL too --- diff --git a/apps/apps.c b/apps/apps.c index 02d76516bd..3316e26a5c 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2132,7 +2132,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;