gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 81/171: -fix 0-term


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 81/171: -fix 0-term
Date: Thu, 04 Jan 2018 16:09:49 +0100

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

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

commit d80df28d5f4814f93b8aa536a1064c77e3d659cc
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Jun 23 20:43:16 2017 +0200

    -fix 0-term
---
 src/credential/plugin_gnsrecord_credential.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/credential/plugin_gnsrecord_credential.c 
b/src/credential/plugin_gnsrecord_credential.c
index 1011664cd..daecc1bd4 100644
--- a/src/credential/plugin_gnsrecord_credential.c
+++ b/src/credential/plugin_gnsrecord_credential.c
@@ -127,7 +127,7 @@ credential_value_to_string (void *cls,
    }
    case GNUNET_GNSRECORD_TYPE_POLICY:
    {
-     return GNUNET_strdup (data);
+     return GNUNET_strndup (data,data_size);
    }
    default:
    return NULL;

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



reply via email to

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