gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: fix #8051


From: gnunet
Subject: [gnunet] branch master updated: fix #8051
Date: Tue, 09 Jan 2024 19:38:29 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9ef19ec60 fix #8051
9ef19ec60 is described below

commit 9ef19ec60337441212d70965549416eecffd4576
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 9 19:38:25 2024 +0100

    fix #8051
---
 src/lib/util/strings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/util/strings.c b/src/lib/util/strings.c
index f3ef0483d..7751c7aa9 100644
--- a/src/lib/util/strings.c
+++ b/src/lib/util/strings.c
@@ -1621,7 +1621,7 @@ GNUNET_STRINGS_base64_encode (const void *in,
   char *opt;
 
   ret = 0;
-  GNUNET_assert (len < SIZE_MAX / 4 * 3);
+  GNUNET_assert (len < SIZE_MAX / 4);
   opt = GNUNET_malloc (2 + (len * 4 / 3) + 8);
   for (size_t i = 0; i < len; ++i)
   {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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