Prevent infinite loop loading config files.
PR#2985
(cherry picked from commit 9d23f422a3)
This commit is contained in:
committed by
Dr. Stephen Henson
parent
a07f514fc0
commit
00032b0ba1
@@ -321,7 +321,7 @@ again:
|
|||||||
p=eat_ws(conf, end);
|
p=eat_ws(conf, end);
|
||||||
if (*p != ']')
|
if (*p != ']')
|
||||||
{
|
{
|
||||||
if (*p != '\0')
|
if (*p != '\0' && ss != p)
|
||||||
{
|
{
|
||||||
ss=p;
|
ss=p;
|
||||||
goto again;
|
goto again;
|
||||||
|
|||||||
Reference in New Issue
Block a user