Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Scott Cantor
Scott CantorReporter
Paul Riddle
Paul RiddleComponents
Fix versions
Affects versions
Created June 4, 2008 at 9:04 AM
Updated August 13, 2008 at 11:01 AM
Resolved June 4, 2008 at 11:09 AM
If I add an <ApplicationDefaults> element to shibboleth2.xml (by uncommenting the example included with the distribution, for example), shibd segfaults while trying to load the configuration. The crash happens at line 1398 of shibsp/impl/XMLServiceProvider.cpp:
m_appmap[iapp->getId()]=iapp.release();
It looks like the LHS is attempting to dereference the pointer after the RHS has zeroed it out. This fixed it for me:
const char* id=iapp->getId();
m_appmap[id]=iapp.release();
Context diff is attached.