[shibboleth-sp2] 03/25: Fix for SSPCPP-87.

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


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

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

commit 1ac825a46befac356085c09bd59d9e18965e8e80
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Thu Mar 27 01:20:42 2008 +0000

    Fix for SSPCPP-87.
---
 .cproject                 | 6 ++----
 isapi_shib/.gitignore     | 6 ++++++
 isapi_shib/isapi_shib.cpp | 2 +-
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/.cproject b/.cproject
index 8126626..cfe62fa 100644
--- a/.cproject
+++ b/.cproject
@@ -1,7 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?fileVersion 4.0.0?>
-
-<cproject>
+<?xml version="1.0" encoding="UTF-8"?><?fileVersion 4.0.0?><cproject>
 <storageModule moduleId="org.eclipse.cdt.core.settings">
 <cconfiguration id="converted.config.1765078528">
 <storageModule moduleId="org.eclipse.cdt.core.pathentry">
@@ -28,6 +25,7 @@
 <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
 </extensions>
 </storageModule>
+<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
 </cconfiguration>
 </storageModule>
 </cproject>
diff --git a/isapi_shib/.gitignore b/isapi_shib/.gitignore
new file mode 100644
index 0000000..ac28e66
--- /dev/null
+++ b/isapi_shib/.gitignore
@@ -0,0 +1,6 @@
+/*.plg
+/Release
+/Debug
+/*.dep
+/*.mak
+/*.aps
diff --git a/isapi_shib/isapi_shib.cpp b/isapi_shib/isapi_shib.cpp
index f7169be..53d1d15 100644
--- a/isapi_shib/isapi_shib.cpp
+++ b/isapi_shib/isapi_shib.cpp
@@ -524,7 +524,7 @@ extern "C" DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc, DWORD notificat
 {
     // Is this a log notification?
     if (notificationType==SF_NOTIFY_LOG) {
-        if (pfc->pFilterContext)
+        if (pfc->pFilterContext && static_cast<context_t*>(pfc->pFilterContext)->m_user)
             ((PHTTP_FILTER_LOG)pvNotification)->pszClientUserName=static_cast<context_t*>(pfc->pFilterContext)->m_user;
         return SF_STATUS_REQ_NEXT_NOTIFICATION;
     }

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