[shibboleth-sp2] 13/18: Nasty bug in extension header function.

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 dd0a5e3bac706d22b10e740990cd830b6fcc6ec6
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Mon Apr 4 21:59:06 2005 +0000

    Nasty bug in extension header function.
---
 isapi_shib/isapi_shib.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isapi_shib/isapi_shib.cpp b/isapi_shib/isapi_shib.cpp
index 9bfdc62..f1e43a7 100644
--- a/isapi_shib/isapi_shib.cpp
+++ b/isapi_shib/isapi_shib.cpp
@@ -315,7 +315,7 @@ void GetServerVariable(LPEXTENSION_CONTROL_BLOCK lpECB, LPSTR lpszVariable, dyna
     s.erase();
     size=s.size();
 
-    while (lpECB->GetServerVariable(lpECB->ConnID,lpszVariable,s,&size))
+    while (!lpECB->GetServerVariable(lpECB->ConnID,lpszVariable,s,&size))
     {
         // Grumble. Check the error.
         DWORD e=GetLastError();

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