gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: fix strcmp


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix strcmp
Date: Thu, 24 Jan 2019 12:30:44 +0100

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 476fe5a34 fix strcmp
476fe5a34 is described below

commit 476fe5a3403704f698edcc660a7073860d6fa4f3
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Jan 24 12:30:41 2019 +0100

    fix strcmp
---
 src/rest-plugins/plugin_rest_openid_connect.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/rest-plugins/plugin_rest_openid_connect.c 
b/src/rest-plugins/plugin_rest_openid_connect.c
index 9124de7ff..1824ec430 100644
--- a/src/rest-plugins/plugin_rest_openid_connect.c
+++ b/src/rest-plugins/plugin_rest_openid_connect.c
@@ -1136,8 +1136,9 @@ lookup_redirect_uri_result (void *cls,
   {
     if (GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT != rd[i].record_type)
       continue;
-    if (0 != strcmp (rd[i].data,
-                     handle->oidc->redirect_uri))
+    if (0 != strncmp (rd[i].data,
+                     handle->oidc->redirect_uri,
+                     rd[i].data_size))
       continue;
     tmp = GNUNET_strdup (rd[i].data);
     pos = strrchr (tmp,

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



reply via email to

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