[cpp-sp] branch main updated: SSPCPP-959 - Segfault when using ExcludedAlgorithms

Scott Cantor cantor.2 at osu.edu
Wed Oct 19 12:17:32 UTC 2022


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 14a46956 SSPCPP-959 - Segfault when using ExcludedAlgorithms
14a46956 is described below

commit 14a46956d79cc714642ae404167f44fef01df5be
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Oct 19 08:17:05 2022 -0400

    SSPCPP-959 - Segfault when using ExcludedAlgorithms
    
    https://shibboleth.atlassian.net/browse/SSPCPP-959
---
 shibsp/impl/XMLSecurityPolicyProvider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/impl/XMLSecurityPolicyProvider.cpp b/shibsp/impl/XMLSecurityPolicyProvider.cpp
index a091a9d3..46480548 100644
--- a/shibsp/impl/XMLSecurityPolicyProvider.cpp
+++ b/shibsp/impl/XMLSecurityPolicyProvider.cpp
@@ -268,7 +268,7 @@ XMLSecurityPolicyProviderImpl::XMLSecurityPolicyProviderImpl(const DOMElement* e
             m_excludeDefaults = false;
         }
         else {
-            const DOMElement* alglist = XMLHelper::getLastChildElement(e, ExcludedAlgorithms);
+            alglist = XMLHelper::getLastChildElement(e, ExcludedAlgorithms);
             if (alglist) {
                 m_excludeDefaults = XMLHelper::getAttrBool(alglist, true, excludeDefaults);
                 if (alglist->hasChildNodes()) {

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


More information about the commits mailing list