Fix crash in localized request maps.
[shibboleth/cpp-sp.git] / apache / mod_apache.cpp
index 2be0df1..0ab5651 100644 (file)
@@ -818,6 +818,8 @@ void ApacheRequestMapper::getAll(map<string,const char*>& properties) const
 
     if (s)
         s->getAll(properties);
+    if (!sta)
+        return;
 
     const char* auth_type=ap_auth_type(sta->m_req);
     if (auth_type) {