[cpp-sp] branch master updated: SSPCPP-872 - BOOST assert with misconfigured ExternalAuth

Scott Cantor cantor.2 at osu.edu
Thu Mar 5 12:40:52 EST 2020


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

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=1d8162ffe97017936da80466dc9dbd66ea127bc1

The following commit(s) were added to refs/heads/master by this push:
       new  1d8162f   SSPCPP-872 - BOOST assert with misconfigured ExternalAuth
1d8162f is described below

commit 1d8162ffe97017936da80466dc9dbd66ea127bc1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Mar 5 12:40:01 2020 -0500

    SSPCPP-872 - BOOST assert with misconfigured ExternalAuth
    
    https://issues.shibboleth.net/jira/browse/SSPCPP-872
---
 shibsp/handler/impl/ExternalAuthHandler.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/handler/impl/ExternalAuthHandler.cpp b/shibsp/handler/impl/ExternalAuthHandler.cpp
index 82f749f..411a9ed 100644
--- a/shibsp/handler/impl/ExternalAuthHandler.cpp
+++ b/shibsp/handler/impl/ExternalAuthHandler.cpp
@@ -396,7 +396,7 @@ pair<bool,long> ExternalAuth::processMessage(
             authncontext_class,
             authncontext_decl,
             &tokens,
-            &ctx->getResolvedAttributes()
+            ctx ? &ctx->getResolvedAttributes() : nullptr
             );
 
         if (login_event) {
@@ -544,7 +544,7 @@ pair<bool,long> ExternalAuth::processMessage(
             authncontext_class.get(),
             authncontext_decl.get(),
             &tokens,
-            &ctx->getResolvedAttributes()
+            ctx ? &ctx->getResolvedAttributes() : nullptr
             );
 
         if (login_event) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list