commit f2733d8f626ffa40abd078a06eeb4a535f5f784c
parent f099e574dacd91756cc806ec77520ea5e50b700d
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 15 Jul 2026 18:26:06 +0200
-fix limit check
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c
@@ -173,7 +173,7 @@ TALER_EXCHANGE_get_melt_data (
*/
memset (nonces,
0,
- sizeof(*nonces));
+ sizeof(nonces[0]) * rd->num_fresh_denom_pubs);
if (uses_cs)
{
GNUNET_assert (! md->no_blinding_seed);
diff --git a/src/mhd/mhd_parsing.c b/src/mhd/mhd_parsing.c
@@ -577,7 +577,7 @@ TALER_MHD_check_content_length_ (struct MHD_Connection *connection,
? GNUNET_NO
: GNUNET_SYSERR;
}
- if (cv > TALER_MHD_REQUEST_BUFFER_MAX)
+ if (cv > max_len)
{
GNUNET_break_op (0);
return (MHD_YES ==