Prevent infinite loop loading config files.

PR#2985
(cherry picked from commit 9d23f422a3)
This commit is contained in:
David Lloyd 2014-07-07 13:11:48 +01:00 committed by Dr. Stephen Henson
parent 3fe4fc4774
commit 0819130188

View file

@ -321,7 +321,7 @@ again:
p=eat_ws(conf, end);
if (*p != ']')
{
if (*p != '\0')
if (*p != '\0' && ss != p)
{
ss=p;
goto again;