[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: REST: fix oidc redirecto ur
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: REST: fix oidc redirecto uri 0-terminator |
Date: |
Thu, 24 Jan 2019 14:42:06 +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 31a1df068 REST: fix oidc redirecto uri 0-terminator
31a1df068 is described below
commit 31a1df068442392cf7aa7ccd156ccd6c7a8716dd
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Jan 24 14:42:03 2019 +0100
REST: fix oidc redirecto uri 0-terminator
---
src/rest-plugins/plugin_rest_openid_connect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/rest-plugins/plugin_rest_openid_connect.c
b/src/rest-plugins/plugin_rest_openid_connect.c
index 1824ec430..d7c0b4977 100644
--- a/src/rest-plugins/plugin_rest_openid_connect.c
+++ b/src/rest-plugins/plugin_rest_openid_connect.c
@@ -1140,7 +1140,8 @@ lookup_redirect_uri_result (void *cls,
handle->oidc->redirect_uri,
rd[i].data_size))
continue;
- tmp = GNUNET_strdup (rd[i].data);
+ tmp = GNUNET_strndup (rd[i].data,
+ rd[i].data_size);
pos = strrchr (tmp,
(unsigned char) '.');
*pos = '\0';
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: REST: fix oidc redirecto uri 0-terminator,
gnunet <=