Uploaded image for project: 'Shibboleth SP - C++'
  1. Shibboleth SP - C++
  2. SSPCPP-357

Library init routines should be idempotent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.4.1, 2.4.2
    • Fix Version/s: 2.4.3
    • Component/s: Configuration
    • Labels:
      None
    • Operating System:
      Multiple
    • CPU Type:
      Multiple
    • C/C++ Compiler:
      Multiple
    • Web Server:
      Multiple

      Description

      Originally filed by Luke Howard, moved from old Jira.

      I have multiple non-cooperating libraries that link against Shibboleth SP/Resolver (along with OpenSAML, etc). Calling ShibbolethResolver::init() multiple times in a process appears to cause crashes (and not calling it in one library obviously is very dependent on whether the other library is installed or loaded first). I'm using the following workaround now:

      if (!didShibInit && SPConfig::getConfig().getFeatures() == 0)

      { ShibbolethResolver::init(); didShibInit = TRUE; }

      But I'd really like to get it fixed properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cantor.2@osu.edu Scott Cantor
              Reporter:
              cantor.2@osu.edu Scott Cantor
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes Time Not Required
                  20m