[shibboleth-sp2] 10/18: Backport strchr fix.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:31 UTC 2016


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

wferi-guest pushed a commit to annotated tag 1.2.1b
in repository shibboleth-sp2.

commit a2e282059ea9ba0f8997bf5a00ffb34051b6d0ea
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Wed Feb 16 16:28:14 2005 +0000

    Backport strchr fix.
---
 shib-target/XMLRequestMapper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib-target/XMLRequestMapper.cpp b/shib-target/XMLRequestMapper.cpp
index cd07bd9..3fb940c 100644
--- a/shib-target/XMLRequestMapper.cpp
+++ b/shib-target/XMLRequestMapper.cpp
@@ -474,7 +474,7 @@ const Override* XMLRequestMapperImpl::findOverride(const char* vhost, const char
 const char* split_url(const char* url, string& vhost)
 {
     const char* path=NULL;
-    char* slash=strchr(url,'/');
+    const char* slash=strchr(url,'/');
     if (slash)
     {
         slash=strchr(slash,'/');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list