[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-twister] branch master updated: + #5744
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-twister] branch master updated: + #5744 |
Date: |
Thu, 13 Jun 2019 20:08:00 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository twister.
The following commit(s) were added to refs/heads/master by this push:
new 18542dd + #5744
18542dd is described below
commit 18542dd98644d24c3e7c9fd7304c3fc42915957c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Jun 13 20:07:53 2019 +0200
+ #5744
---
src/twister/taler-twister-service.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index 66b298e..68bdfcc 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -2595,8 +2595,15 @@ handle_flip_path_dl (void *cls,
const struct TWISTER_FlipPath *src)
{
struct GNUNET_SERVICE_Client *c = cls;
+ size_t tailsize;
- strcpy (flip_path_dl, src->path);
+ tailsize = src->header.size - sizeof (*src);
+
+ GNUNET_assert
+ (tailsize == GNUNET_STRINGS_buffer_tokenize ((char *) &src[1],
+ tailsize,
+ 1,
+ &flip_path_dl));
send_acknowledgement (c);
}
@@ -2612,8 +2619,15 @@ handle_flip_path_ul (void *cls,
const struct TWISTER_FlipPath *src)
{
struct GNUNET_SERVICE_Client *c = cls;
+ size_t tailsize;
- strcpy (flip_path_ul, src->path);
+ tailsize = src->header.size - sizeof (*src);
+
+ GNUNET_assert
+ (tailsize == GNUNET_STRINGS_buffer_tokenize ((char *) &src[1],
+ tailsize,
+ 1,
+ &flip_path_dl));
send_acknowledgement (c);
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-twister] branch master updated: + #5744,
gnunet <=