From 9d23f422a32cb333a5e803199ae230706b1bf9f5 Mon Sep 17 00:00:00 2001 From: David Lloyd Date: Mon, 7 Jul 2014 13:11:48 +0100 Subject: [PATCH] Prevent infinite loop loading config files. PR#2985 --- 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.25.1