[shibboleth-sp2] 97/119: Failed to initialize members after switch from auto_ptr.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:54 UTC 2016


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

wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.

commit 93c9e2ab0d1f92ffc60ee2d50b58f41961cb1741
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Mon Oct 29 19:34:15 2007 +0000

    Failed to initialize members after switch from auto_ptr.
---
 xmlproviders/XMLMetadata.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/xmlproviders/XMLMetadata.cpp b/xmlproviders/XMLMetadata.cpp
index ddbc7af..7e66077 100644
--- a/xmlproviders/XMLMetadata.cpp
+++ b/xmlproviders/XMLMetadata.cpp
@@ -466,7 +466,8 @@ ReloadableXMLFileImpl* XMLMetadata::newImplementation(const char* pathname, bool
     return new XMLMetadataImpl(pathname,this);
 }
 
-XMLMetadataImpl::ContactPerson::ContactPerson(const DOMElement* e) : m_root(e), m_type(IContactPerson::other)
+XMLMetadataImpl::ContactPerson::ContactPerson(const DOMElement* e)
+    : m_root(e), m_type(IContactPerson::other), m_givenName(NULL), m_surName(NULL), m_company(NULL)
 {
     const XMLCh* type=NULL;
     
@@ -969,7 +970,7 @@ XMLMetadataImpl::AARole::~AARole()
 
 XMLMetadataImpl::EntityDescriptor::EntityDescriptor(
     const DOMElement* e, XMLMetadataImpl* wrapper, time_t validUntil, const IEntitiesDescriptor* parent
-    ) : m_root(e), m_parent(parent), m_org(NULL), m_validUntil(validUntil)
+    ) : m_root(e), m_parent(parent), m_id(NULL), m_errorURL(NULL), m_org(NULL), m_validUntil(validUntil)
 {
     // Check the root element namespace. If SAML2, assume it's the std schema.
     if (!XMLString::compareString(e->getNamespaceURI(),::XML::SAML2META_NS)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list