Prevent infinite loop loading config files.
PR#2985 (cherry picked from commit 9d23f422a32cb333a5e803199ae230706b1bf9f5)
This commit is contained in:
parent
3ebcecf5c4
commit
2cb761c1f4
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user