Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-411

rampart segfaults with unavailability of "timeToLive" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95
    • None
    • rampart
    • None

    Description

      <snippet file="rampart_out_handler.c" line="249">
      ttl_str = RAMPART_ACTIONS_GET_TIME_TO_LIVE(actions, env);
      ttl = atoi(RAMPART_ACTIONS_GET_TIME_TO_LIVE(actions, env));
      if (ttl <= 0)

      { AXIS2_LOG_INFO(env->log, "[rampart][rampart_out_handler] Using default timeToLive value %s", RAMPART_TIMESTAMP_TOKEN_DEFAULT_TIME_TO_LIVE); ttl = RAMPART_TIMESTAMP_TOKEN_DEFAULT_TIME_TO_LIVE; }

      timestamp_token = rampart_timestamp_token_create(env);
      </snippet>

      before creating timestamp_token rampart checks for timeToLive property, when one need to "timestamp" without "timeToLive", rampart segfaults.

      Attachments

        Activity

          People

            kau Malinda Kaushalye Kapuruge
            xydinesh Dinesh Weerapurage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: