gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 02/03: no null-termination necessary after GNUNET_


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/03: no null-termination necessary after GNUNET_strlcpy
Date: Thu, 27 Jun 2019 11:43:24 +0200

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

lurchi pushed a commit to branch master
in repository gnunet.

commit f54e8c82dc843aee294e61882d049b3870b458f0
Author: lurchi <address@hidden>
AuthorDate: Thu Jun 27 11:12:42 2019 +0200

    no null-termination necessary after GNUNET_strlcpy
---
 src/exit/gnunet-helper-exit-windows.c | 1 -
 src/vpn/gnunet-helper-vpn-windows.c   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/exit/gnunet-helper-exit-windows.c 
b/src/exit/gnunet-helper-exit-windows.c
index 1e17ceaac..85a06c539 100644
--- a/src/exit/gnunet-helper-exit-windows.c
+++ b/src/exit/gnunet-helper-exit-windows.c
@@ -1536,7 +1536,6 @@ main (int argc, char **argv)
     }
 
   GNUNET_strlcpy (hwid, argv[1], sizeof (hwid));
-  hwid[LINE_LEN - 1] = '\0';
 
   /*
    * We use our PID for finding/resolving the control-panel name of our virtual
diff --git a/src/vpn/gnunet-helper-vpn-windows.c 
b/src/vpn/gnunet-helper-vpn-windows.c
index 4ccecb873..ea4d30347 100644
--- a/src/vpn/gnunet-helper-vpn-windows.c
+++ b/src/vpn/gnunet-helper-vpn-windows.c
@@ -1533,7 +1533,6 @@ main (int argc, char **argv)
     }
 
   GNUNET_strlcpy (hwid, argv[1], sizeof (hwid));
-  hwid[LINE_LEN - 1] = '\0';
 
   /*
    * We use our PID for finding/resolving the control-panel name of our virtual

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



reply via email to

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