aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-03-25 19:36:33 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-10 21:05:18 +0100
commitdb9dc7c2df83a8a383471fbe05dc98de1b047a01 (patch)
treeef4d4ac2726d4780b2b301c23d5d3a913dcb1608 /external
parenteasylogging++: avoid creating directory/filename for the builtin default log ... (diff)
downloadmonero-db9dc7c2df83a8a383471fbe05dc98de1b047a01.tar.xz
eayslogging++: Fix bad memory access before opening any files
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/easylogging++.cc1
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;