commit 199c806ee255ca0725b9a0d6dd54c9dd2a16d616 parent 550ba62a916bdd8f0259e6eb8e631da2f76387b9 Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 15 Jul 2020 20:17:13 +0200 fix #6429 Diffstat:
| M | 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 @@ -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,