Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: openssl/crypto/conf/conf_mod.c

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/crypto/conf/conf_mall.c ('k') | openssl/crypto/cpt_err.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/crypto/conf/conf_mod.c
===================================================================
--- openssl/crypto/conf/conf_mod.c (revision 105093)
+++ openssl/crypto/conf/conf_mod.c (working copy)
@@ -582,8 +582,14 @@
{
int ret;
const char *lstart, *tmpend, *p;
+
+ if(list_ == NULL)
+ {
+ CONFerr(CONF_F_CONF_PARSE_LIST, CONF_R_LIST_CANNOT_BE_NULL);
+ return 0;
+ }
+
lstart = list_;
-
for(;;)
{
if (nospc)
« no previous file with comments | « openssl/crypto/conf/conf_mall.c ('k') | openssl/crypto/cpt_err.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698