[cpp-sp] 01/02: Fix a boolean reversal.

Codeberg noreply at shibboleth.net
Fri Sep 18 14:27:32 UTC 2026


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

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

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/9597e62da20d5380c898825c83e4b70808e3d5d8

commit 9597e62da20d5380c898825c83e4b70808e3d5d8
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Fri Sep 18 10:26:29 2026 -0400

    Fix a boolean reversal.
---
 shibsp/attribute/impl/DefaultAttributeConfiguration.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/attribute/impl/DefaultAttributeConfiguration.cpp b/shibsp/attribute/impl/DefaultAttributeConfiguration.cpp
index 467c0190..9775604a 100644
--- a/shibsp/attribute/impl/DefaultAttributeConfiguration.cpp
+++ b/shibsp/attribute/impl/DefaultAttributeConfiguration.cpp
@@ -362,7 +362,7 @@ void DefaultAttributeConfiguration::exportAttributes(SPRequest& request, const S
             DDF vals = a.second; // cheap copy drops const qualifier
             DDF v = vals.first();
             set<string>& targetSet = valueMap[*headerNameToUse];
-            while (vals.isnull()) {
+            while (!vals.isnull()) {
                 targetSet.insert(v.string());
                 v = vals.next();
             }

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


More information about the commits mailing list