aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-03 21:34:12 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-03 21:34:12 +0200
commit3ddfe876ef9a16fd3d1dc71c23b62cde602a9867 (patch)
tree8fa2ca11297cd6a33b0e56b7c9d3cb7975e6831b /src/gnsrecord
parenta00a49bf58c502ab860adaa6b01541c0e7e3e645 (diff)
downloadgnunet-3ddfe876ef9a16fd3d1dc71c23b62cde602a9867.tar.gz
gnunet-3ddfe876ef9a16fd3d1dc71c23b62cde602a9867.zip
make coverity happy
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/plugin_gnsrecord_dns.c2
1 files changed, 1 insertions, 1 deletions
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,
660 struct GNUNET_DNSPARSER_CaaRecord *caa; 660 struct GNUNET_DNSPARSER_CaaRecord *caa;
661 unsigned int flags; 661 unsigned int flags;
662 char tag[15]; //Max tag length 15 662 char tag[15]; //Max tag length 15
663 char value[strlen (s)]; //Should be more than enough 663 char value[strlen (s) + 1]; //Should be more than enough
664 664
665 if (3 != SSCANF (s, "%u %s %[^\n]", &flags, tag, value)) 665 if (3 != SSCANF (s, "%u %s %[^\n]", &flags, tag, value))
666 { 666 {