eayslogging++: Fix bad memory access before opening any files

This commit is contained in:
moneromooo-monero 2016-12-11 19:53:46 +00:00
parent 0af5d16872
commit c313bea450
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

@ -3082,6 +3082,7 @@ namespace base {
base::utils::Str::trim(boolStr);
return (boolStr == "TRUE" || boolStr == "true" || boolStr == "1");
};
setValue(Level::Global, base::FileStreamPtr(NULL), &m_fileStreamMap);
std::vector<Configuration*> withFileSizeLimit;
for (Configurations::const_iterator it = configurations->begin(); it != configurations->end(); ++it) {
Configuration* conf = *it;