We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elog_file_config函数中打开配置文件的代码如下: if (local_cfg.name != NULL && strlen(local_cfg.name) > 0) fp = fopen(local_cfg.name, "a+"); }
elog_file_write这个函数中就直接对fp进行操作,而没有继续对文件指针进行判断,如果上面配置的文件不存在,这里会导致异常。
The text was updated successfully, but these errors were encountered:
这个接口没问题
Sorry, something went wrong.
No branches or pull requests
elog_file_config函数中打开配置文件的代码如下:
if (local_cfg.name != NULL && strlen(local_cfg.name) > 0)
fp = fopen(local_cfg.name, "a+");
}
elog_file_write这个函数中就直接对fp进行操作,而没有继续对文件指针进行判断,如果上面配置的文件不存在,这里会导致异常。
The text was updated successfully, but these errors were encountered: