[cpp-sp] branch main updated: Reset name of session structure after read.

Codeberg noreply at shibboleth.net
Sat Dec 13 01:10:45 UTC 2025


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/49b02225bbc0c958c918f3a802e64643c636e8bc

The following commit(s) were added to refs/heads/main by this push:
     new 49b02225 Reset name of session structure after read.
49b02225 is described below

commit 49b02225bbc0c958c918f3a802e64643c636e8bc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Dec 12 18:10:04 2025 -0700

    Reset name of session structure after read.
---
 shibsp/session/impl/StorageServiceSessionCache.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shibsp/session/impl/StorageServiceSessionCache.cpp b/shibsp/session/impl/StorageServiceSessionCache.cpp
index f1be78c5..dc84ea3b 100644
--- a/shibsp/session/impl/StorageServiceSessionCache.cpp
+++ b/shibsp/session/impl/StorageServiceSessionCache.cpp
@@ -232,7 +232,8 @@ DDF StorageServiceSessionCache::cache_read(
         }
     }    
 
-    // Otherwise return the detached session structure.
+    // Otherwise return the detached session structure after re-installing the key into the root name.
+    sessionData.name(key);
     return sessionData.remove();
 }
 

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


More information about the commits mailing list