gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix #6429


From: gnunet
Subject: [taler-merchant] branch master updated: fix #6429
Date: Wed, 15 Jul 2020 20:17:16 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 199c806  fix #6429
199c806 is described below

commit 199c806ee255ca0725b9a0d6dd54c9dd2a16d616
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jul 15 20:17:13 2020 +0200

    fix #6429
---
 src/backend/taler-merchant-httpd_private-post-instances.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_private-post-instances.c 
b/src/backend/taler-merchant-httpd_private-post-instances.c
index ae583e7..c89b28f 100644
--- a/src/backend/taler-merchant-httpd_private-post-instances.c
+++ b/src/backend/taler-merchant-httpd_private-post-instances.c
@@ -298,7 +298,13 @@ TMH_private_post_instances (const struct 
TMH_RequestHandler *rh,
         }
         wm->wire_method
           = TALER_payto_get_method (json_string_value (payto_uri));
-        GNUNET_assert (NULL != wm->wire_method);
+        if (NULL == wm->wire_method)
+        {
+          GNUNET_break_op (0);
+          payto_ok = false;
+          GNUNET_free (wm);
+          break;
+        }
         wm->active = true;
         GNUNET_CONTAINER_DLL_insert (wm_head,
                                      wm_tail,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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