eayslogging++: Fix bad memory access before opening any files
This commit is contained in:
parent
0af5d16872
commit
c313bea450
|
@ -3082,6 +3082,7 @@ namespace base {
|
||||||
base::utils::Str::trim(boolStr);
|
base::utils::Str::trim(boolStr);
|
||||||
return (boolStr == "TRUE" || boolStr == "true" || boolStr == "1");
|
return (boolStr == "TRUE" || boolStr == "true" || boolStr == "1");
|
||||||
};
|
};
|
||||||
|
setValue(Level::Global, base::FileStreamPtr(NULL), &m_fileStreamMap);
|
||||||
std::vector<Configuration*> withFileSizeLimit;
|
std::vector<Configuration*> withFileSizeLimit;
|
||||||
for (Configurations::const_iterator it = configurations->begin(); it != configurations->end(); ++it) {
|
for (Configurations::const_iterator it = configurations->begin(); it != configurations->end(); ++it) {
|
||||||
Configuration* conf = *it;
|
Configuration* conf = *it;
|
||||||
|
|
Loading…
Reference in New Issue