aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/load_from_binary.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-02 08:39:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-02 17:28:44 +0000
commite5108a294a7d4fd923665e059a6eb90b0ab5a337 (patch)
tree4069f097660a988018796bcfb90003aca7577887 /tests/fuzz/load_from_binary.cpp
parentMerge pull request #4333 (diff)
downloadmonero-e5108a294a7d4fd923665e059a6eb90b0ab5a337.tar.xz
Catch more exceptions in dtors
Misc coverity reports
Diffstat (limited to '')
-rw-r--r--tests/fuzz/load_from_binary.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fuzz/load_from_binary.cpp b/tests/fuzz/load_from_binary.cpp
index 8f96c454f..89f122902 100644
--- a/tests/fuzz/load_from_binary.cpp
+++ b/tests/fuzz/load_from_binary.cpp
@@ -70,7 +70,9 @@ int PortableStorageFuzzer::run(const std::string &filename)
int main(int argc, const char **argv)
{
+ TRY_ENTRY();
PortableStorageFuzzer fuzzer;
return run_fuzzer(argc, argv, fuzzer);
+ CATCH_ENTRY_L0("main", 1);
}