From ff48c0d9098080b51ea12710029135916d117806 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 30 Mar 2010 12:36:28 +0000 Subject: svn merge -r514:HEAD ^/branches/released . --- openssl/crypto/conf/conf_mod.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'openssl/crypto/conf/conf_mod.c') diff --git a/openssl/crypto/conf/conf_mod.c b/openssl/crypto/conf/conf_mod.c index ee9c677d9..df1642a0a 100644 --- a/openssl/crypto/conf/conf_mod.c +++ b/openssl/crypto/conf/conf_mod.c @@ -582,8 +582,14 @@ int CONF_parse_list(const char *list_, int sep, int nospc, { int ret; const char *lstart, *tmpend, *p; - lstart = list_; + if(list_ == NULL) + { + CONFerr(CONF_F_CONF_PARSE_LIST, CONF_R_LIST_CANNOT_BE_NULL); + return 0; + } + + lstart = list_; for(;;) { if (nospc) -- cgit v1.2.3