mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-04 04:53:19 +00:00
eayslogging++: Fix bad memory access before opening any files
This commit is contained in:
parent
14620ca0bd
commit
db9dc7c2df
1 changed files with 1 additions and 0 deletions
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
|
@ -1603,6 +1603,7 @@ void TypedConfigurations::build(Configurations* configurations) {
|
||||||
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 a new issue