aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-09 15:16:06 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-09-09 15:16:06 -0400
commitacfe3f8ded838bd6ef31cbf203cc70a82e976843 (patch)
treeea300ecf9a7fe28fc24f87341899767cd4e4d699 /external
parentMerge pull request #7823 (diff)
parentEasyLogging++: new anti-UB test and propagating exception (diff)
downloadmonero-acfe3f8ded838bd6ef31cbf203cc70a82e976843.tar.xz
Merge pull request #7828
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
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;