[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix #8713
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix #8713 |
Date: |
Mon, 08 Apr 2024 19:49:09 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new e2a59c123 fix #8713
e2a59c123 is described below
commit e2a59c12377439032aa3299f118db954f771bbfe
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Apr 8 19:49:05 2024 +0200
fix #8713
---
src/util/crypto_confirmation.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/util/crypto_confirmation.c b/src/util/crypto_confirmation.c
index 204c373da..5670f5560 100644
--- a/src/util/crypto_confirmation.c
+++ b/src/util/crypto_confirmation.c
@@ -261,6 +261,13 @@ TALER_build_pos_confirmation (const char *pos_key,
struct GNUNET_HashCode hkey;
struct TALER_AmountNBO ntotal;
+ if ( (NULL == total) ||
+ (GNUNET_YES !=
+ TALER_amount_is_valid (total) ) )
+ {
+ GNUNET_break_op (0);
+ return GNUNET_SYSERR;
+ }
TALER_amount_hton (&ntotal,
total);
GNUNET_assert (GNUNET_YES ==
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix #8713,
gnunet <=