提交 e1742903 编写于 作者: C charsyam 提交者: antirez

Don't segfault on unbalanced quotes.

上级 a3273dbf
......@@ -73,6 +73,10 @@ void loadServerConfigFromString(char *config) {
/* Split into arguments */
argv = sdssplitargs(lines[i],&argc);
if (argv == NULL) {
err = "can't parse this line";
goto loaderr;
}
sdstolower(argv[0]);
/* Execute config directives */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册