gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix #6195


From: gnunet
Subject: [taler-exchange] branch master updated: fix #6195
Date: Tue, 21 Apr 2020 15:25:16 +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 09294481 fix #6195
09294481 is described below

commit 092944819d2bf442282f0913c01bf1dc3adb2866
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Apr 21 15:25:12 2020 +0200

    fix #6195
---
 src/lib/exchange_api_refresh_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/exchange_api_refresh_common.c 
b/src/lib/exchange_api_refresh_common.c
index f26c5bcc..9e9f6e0c 100644
--- a/src/lib/exchange_api_refresh_common.c
+++ b/src/lib/exchange_api_refresh_common.c
@@ -266,7 +266,8 @@ deserialize_denomination_key (struct 
TALER_DenominationPublicKey *dk,
           buf,
           sizeof (uint32_t));
   pbuf_size = ntohl (be);
-  if (size < sizeof (uint32_t) + pbuf_size)
+  if ( (size < sizeof (uint32_t) + pbuf_size) ||
+       (sizeof (uint32_t) + pbuf_size < pbuf_size) )
   {
     GNUNET_break (0);
     *ok = GNUNET_NO;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]