From db9dc7c2df83a8a383471fbe05dc98de1b047a01 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 25 Mar 2017 19:36:33 +0000 Subject: [PATCH] eayslogging++: Fix bad memory access before opening any files --- external/easylogging++/easylogging++.cc | 1 + 1 file changed, 1 insertion(+) 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 withFileSizeLimit; for (Configurations::const_iterator it = configurations->begin(); it != configurations->end(); ++it) { Configuration* conf = *it;