gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] 04/06: handle plugin load failure without


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] 04/06: handle plugin load failure without crashing
Date: Fri, 06 Oct 2017 22:02:26 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit 9b585fd066c238485b161b7664901e9d23ecf56b
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Oct 6 21:39:19 2017 +0200

    handle plugin load failure without crashing
---
 src/exchange/test_taler_exchange_aggregator.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/exchange/test_taler_exchange_aggregator.c 
b/src/exchange/test_taler_exchange_aggregator.c
index 7f9ea41..0b56b48 100644
--- a/src/exchange/test_taler_exchange_aggregator.c
+++ b/src/exchange/test_taler_exchange_aggregator.c
@@ -1125,6 +1125,12 @@ run (void *cls)
   struct TALER_DenominationPublicKey dpk;
 
   plugin = TALER_EXCHANGEDB_plugin_load (cfg);
+  if (NULL == plugin)
+  {
+    GNUNET_break (0);
+    result = 77;
+    return;
+  }
   if (GNUNET_OK !=
       plugin->create_tables (plugin->cls))
   {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]