gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: rps: fix format not a string literal and


From: gnunet
Subject: [gnunet] branch master updated: rps: fix format not a string literal and no format arguments
Date: Sat, 14 Nov 2020 21:03:30 +0100

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

daniel-golle pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new ea18ebde8 rps: fix format not a string literal and no format arguments
ea18ebde8 is described below

commit ea18ebde8266b4699735fff6deb14539a4f549de
Author: Daniel Golle <daniel@makrotopia.org>
AuthorDate: Sat Nov 14 19:02:01 2020 +0000

    rps: fix format not a string literal and no format arguments
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 src/rps/gnunet-service-rps.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 58fbd6a18..ecbc8e208 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -2926,7 +2926,7 @@ new_sub (const struct GNUNET_HashCode *hash,
     char str_hash[105];
 
     GNUNET_snprintf (str_hash,
-                     sizeof(str_hash),
+                     sizeof(str_hash), "%s",
                      GNUNET_h2s_full (hash));
     tmp_filename_valid_peers = sub->filename_valid_peers;
     GNUNET_asprintf (&sub->filename_valid_peers,
@@ -3017,7 +3017,7 @@ write_histogram_to_file (const uint32_t hist_array[],
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Writing push stats to disk\n");
   to_file_w_len (file_name_full,
-                 SIZE_DUMP_FILE,
+                 SIZE_DUMP_FILE, "%s",
                  collect_str);
   GNUNET_free (file_name_full);
 }

-- 
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]