[shibboleth-sp2] 07/119: Correct excessive looping for type 2.

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


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

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

commit aadc864bd4ccfee98dc8eeded14bd91be1a65360
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Fri Dec 29 19:57:02 2006 +0000

    Correct excessive looping for type 2.
---
 shib-target/ArtifactMapper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib-target/ArtifactMapper.cpp b/shib-target/ArtifactMapper.cpp
index 6f3f22f..da34742 100644
--- a/shib-target/ArtifactMapper.cpp
+++ b/shib-target/ArtifactMapper.cpp
@@ -124,7 +124,7 @@ SAMLResponse* STArtifactMapper::resolve(SAMLRequest* request)
     		    ShibHTTPHook::ShibHTTPHookCallContext callCtx(credUse,idp);
                 const IEndpointManager* mgr=idp->getArtifactResolutionServiceManager();
                 Iterator<const IEndpoint*> eps=mgr ? mgr->getEndpoints() : EMPTY(const IEndpoint*);
-                while (eps.hasNext()) {
+                while (!response && eps.hasNext()) {
                     const IEndpoint* ep=eps.next();
                     auto_ptr_char loc(ep->getLocation());
                     if (strcmp(loc.get(),type2->getSourceLocation()))

-- 
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