From caf84957b92b32aa81b7d8687a7bed9fd9c42bc4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 12 Nov 2023 10:39:38 +0100 Subject: -use sane bound --- src/exchange/taler-exchange-httpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 34dda85b7..1118f7f99 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -1728,14 +1728,14 @@ handle_mhd_request (void *cls, .url = "kyc-webhook", .method = MHD_HTTP_METHOD_GET, .handler.get = &TEH_handler_kyc_webhook_get, - .nargs = UINT_MAX, + .nargs = 16, /* more is not plausible */ .nargs_is_upper_bound = true }, { .url = "kyc-webhook", .method = MHD_HTTP_METHOD_POST, .handler.post = &TEH_handler_kyc_webhook_post, - .nargs = UINT_MAX, + .nargs = 16, /* more is not plausible */ .nargs_is_upper_bound = true }, /* POST management endpoints */ -- cgit v1.2.3