diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-12-04 17:26:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-12-04 17:26:26 +0000 |
commit | d38c549e603d66930b7220a930a3d388795e8f1e (patch) | |
tree | 849b90563cbd84c7c97564700bc49b4a0896e06f /apps | |
parent | 558189183f816a4f264fe908d1b9e2266503c9ce (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 11a3fb9b17..4d47e6adda 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; |