summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-08-04 11:45:47 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-08-04 11:45:47 +0200
commit5252db8599a28b4e1c5385910204a63de76c27fc (patch)
tree12e9bdbd83e57e477bdc2034984030f06771632b /src/backend
parent6fa47d8acc71079130a4f02a0dc5becaadb9446d (diff)
downloadmerchant-5252db8599a28b4e1c5385910204a63de76c27fc.tar.gz
merchant-5252db8599a28b4e1c5385910204a63de76c27fc.tar.bz2
merchant-5252db8599a28b4e1c5385910204a63de76c27fc.zip
-fix crash bug if order request was malformed
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
index 66cf71a5..c83baf1d 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -585,6 +585,7 @@ execute_order (struct OrderContext *oc)
GNUNET_break_op (0);
finalize_order2 (oc,
res);
+ return;
}
}