You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2006/11/19 13:46:37 UTC

[jira] Created: (AXIS2C-411) rampart segfaults with unavailability of "timeToLive" property

rampart segfaults with unavailability of "timeToLive"  property
---------------------------------------------------------------

                 Key: AXIS2C-411
                 URL: http://issues.apache.org/jira/browse/AXIS2C-411
             Project: Axis2-C
          Issue Type: Bug
          Components: rampart
    Affects Versions: 0.95, Current (Nightly)
            Reporter: Dinesh Premalal
             Fix For: 0.96


<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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-411) rampart segfaults with unavailability of "timeToLive" property

Posted by "Malinda Kaushalye Kapuruge (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-411?page=all ]

Malinda Kaushalye Kapuruge reassigned AXIS2C-411:
-------------------------------------------------

    Assignee: Malinda Kaushalye Kapuruge

> rampart segfaults with unavailability of "timeToLive"  property
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-411
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-411
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: rampart
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Dinesh Premalal
>         Assigned To: Malinda Kaushalye Kapuruge
>             Fix For: 0.96
>
>
> <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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXIS2C-411) rampart segfaults with unavailability of "timeToLive" property

Posted by "Malinda Kaushalye Kapuruge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Malinda Kaushalye Kapuruge closed AXIS2C-411.
---------------------------------------------


Closing issue

> rampart segfaults with unavailability of "timeToLive"  property
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-411
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-411
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: rampart
>    Affects Versions: 0.95, Current (Nightly)
>            Reporter: Dinesh Premalal
>         Assigned To: Malinda Kaushalye Kapuruge
>             Fix For: Current (Nightly)
>
>
> <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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-411) rampart segfaults with unavailability of "timeToLive" property

Posted by "Malinda Kaushalye Kapuruge (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-411?page=all ]

Malinda Kaushalye Kapuruge resolved AXIS2C-411.
-----------------------------------------------

    Fix Version/s: Current (Nightly)
                       (was: 0.96)
       Resolution: Fixed

Now if NO timeToLive is specified we use a dafualt value of 300 seconds.


> rampart segfaults with unavailability of "timeToLive"  property
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-411
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-411
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: rampart
>    Affects Versions: Current (Nightly), 0.95
>            Reporter: Dinesh Premalal
>         Assigned To: Malinda Kaushalye Kapuruge
>             Fix For: Current (Nightly)
>
>
> <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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org