gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: make coverity happy


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: make coverity happy
Date: Mon, 03 Jun 2019 21:34:57 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 3ddfe876e make coverity happy
3ddfe876e is described below

commit 3ddfe876ef9a16fd3d1dc71c23b62cde602a9867
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Jun 3 21:34:12 2019 +0200

    make coverity happy
---
 src/gnsrecord/plugin_gnsrecord_dns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gnsrecord/plugin_gnsrecord_dns.c 
b/src/gnsrecord/plugin_gnsrecord_dns.c
index 52c19b445..636a73403 100644
--- a/src/gnsrecord/plugin_gnsrecord_dns.c
+++ b/src/gnsrecord/plugin_gnsrecord_dns.c
@@ -660,7 +660,7 @@ dns_string_to_value (void *cls,
     struct GNUNET_DNSPARSER_CaaRecord *caa;
     unsigned int flags;
     char tag[15]; //Max tag length 15
-    char value[strlen (s)]; //Should be more than enough
+    char value[strlen (s) + 1]; //Should be more than enough
 
     if (3 != SSCANF (s, "%u %s %[^\n]", &flags, tag, value))
     {

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



reply via email to

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