Prevent infinite loop loading config files.

PR#2985
This commit is contained in:
David Lloyd 2014-07-07 13:11:48 +01:00 committed by Dr. Stephen Henson
parent b73ac02735
commit 9d23f422a3

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;