From: David Lloyd Date: Mon, 7 Jul 2014 12:11:48 +0000 (+0100) Subject: Prevent infinite loop loading config files. X-Git-Tag: master-pre-reformat~542 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9d23f422a32cb333a5e803199ae230706b1bf9f5;p=thirdparty%2Fopenssl.git Prevent infinite loop loading config files. PR#2985 --- diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index cf951320af8..f0b27687395 100644 --- a/crypto/conf/conf_def.c +++ b/crypto/conf/conf_def.c @@ -321,7 +321,7 @@ again: p=eat_ws(conf, end); if (*p != ']') { - if (*p != '\0') + if (*p != '\0' && ss != p) { ss=p; goto again;