diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-12-04 17:26:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-12-04 17:26:04 +0000 |
commit | 38680fa4669f93f2670fa5b04691256c3a200305 (patch) | |
tree | 1a739f7b6544a347f2fbd2a44baee15f4828ed05 /apps | |
parent | a902b6bd9845b12db6118b3ea69278c5fb695bc4 (diff) |
check mval for NULL too
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |