提交 9d23f422 编写于 作者: D David Lloyd 提交者: Dr. Stephen Henson

Prevent infinite loop loading config files.

PR#2985
上级 b73ac027
...@@ -321,7 +321,7 @@ again: ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册