gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [taler-exchange] branch master updated: fix #6219
Date: Thu, 23 Apr 2020 15:22:43 +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 7666542a fix #6219
7666542a is described below

commit 7666542ab6aab8ac191d5bda465e20e7948992ef
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Apr 23 15:22:41 2020 +0200

    fix #6219
---
 src/util/url.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/util/url.c b/src/util/url.c
index c64dfbc4..934bb058 100644
--- a/src/util/url.c
+++ b/src/util/url.c
@@ -148,6 +148,9 @@ calculate_argument_length (va_list args)
                     char *);
     if (NULL == value)
       continue;
+    GNUNET_assert ( (len <= len + urlencode_len (value)) &&
+                    (len <= len + urlencode_len (value) + strlen (key)) &&
+                    (len < len + urlencode_len (value) + strlen (key) + 2) );
     len += urlencode_len (value) + strlen (key) + 2;
   }
   va_end (ap);

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



reply via email to

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