[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: no silent label truncation
From: |
gnunet |
Subject: |
[gnunet] branch master updated: no silent label truncation |
Date: |
Tue, 15 Aug 2023 20:30:10 +0200 |
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 3c5eb7a40 no silent label truncation
3c5eb7a40 is described below
commit 3c5eb7a406b3b0d2b47c00eabbff7a3984ce3429
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Tue Aug 15 20:30:07 2023 +0200
no silent label truncation
---
src/testing/testing_api_loop.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 0110f2cc9..e34f87cc2 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -614,9 +614,13 @@ GNUNET_TESTING_command_new (void *cls,
GNUNET_assert (NULL != run);
if (NULL != label)
+ {
+ GNUNET_assert (strlen (label) <=
+ GNUNET_TESTING_CMD_MAX_LABEL_LENGTH);
strncpy (cmd.label,
label,
GNUNET_TESTING_CMD_MAX_LABEL_LENGTH);
+ }
return cmd;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: no silent label truncation,
gnunet <=