From 00032b0ba1e5f9d5f64f4a868a666abce3f63870 Mon Sep 17 00:00:00 2001 From: David Lloyd Date: Mon, 7 Jul 2014 13:11:48 +0100 Subject: [PATCH 1/1] Prevent infinite loop loading config files. PR#2985 (cherry picked from commit 9d23f422a32cb333a5e803199ae230706b1bf9f5) --- crypto/conf/conf_def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index cf951320af..f0b2768739 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; -- 2.34.1