aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormj-xmr <mjxmr@protonmail.com>2021-03-02 09:36:04 +0100
committermj-xmr <mjxmr@protonmail.com>2021-08-03 17:10:21 +0200
commitb2c59af84de8d35c1eee38878053206a62756968 (patch)
treee09c93fe129927f09fc6adeaf0927d28910172c0 /external
parentMerge pull request #7796 (diff)
downloadmonero-b2c59af84de8d35c1eee38878053206a62756968.tar.xz
EasyLogging++: new anti-UB test and propagating exception
Diffstat (limited to 'external')
-rw-r--r--external/easylogging++/easylogging++.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h
index c4a88339f..b983a796c 100644
--- a/external/easylogging++/easylogging++.h
+++ b/external/easylogging++/easylogging++.h
@@ -2026,6 +2026,7 @@ class TypedConfigurations : public base::threading::ThreadSafe {
ELPP_INTERNAL_ERROR("Unable to get configuration [" << confName << "] for level ["
<< LevelHelper::convertToString(level) << "]"
<< std::endl << "Please ensure you have properly configured logger.", false);
+ throw; // The exception has to be rethrown, to abort a branch leading to UB.
}
}
return it->second;