diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-25 19:36:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-10 21:05:18 +0100 |
commit | db9dc7c2df83a8a383471fbe05dc98de1b047a01 (patch) | |
tree | ef4d4ac2726d4780b2b301c23d5d3a913dcb1608 /external/easylogging++/easylogging++.cc | |
parent | easylogging++: avoid creating directory/filename for the builtin default log ... (diff) | |
download | monero-db9dc7c2df83a8a383471fbe05dc98de1b047a01.tar.xz |
eayslogging++: Fix bad memory access before opening any files
Diffstat (limited to 'external/easylogging++/easylogging++.cc')
-rw-r--r-- | external/easylogging++/easylogging++.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc index f80715424..f40658096 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -1603,6 +1603,7 @@ void TypedConfigurations::build(Configurations* configurations) { 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; |