Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 53508 invoked from network); 20 Nov 2006 08:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2006 08:06:23 -0000 Received: (qmail 17000 invoked by uid 500); 20 Nov 2006 08:06:33 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 16987 invoked by uid 500); 20 Nov 2006 08:06:33 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 16976 invoked by uid 99); 20 Nov 2006 08:06:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 00:06:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2006 00:06:22 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 864E17142BF for ; Mon, 20 Nov 2006 00:06:02 -0800 (PST) Message-ID: <14133408.1164009962531.JavaMail.jira@brutus> Date: Mon, 20 Nov 2006 00:06:02 -0800 (PST) From: "Malinda Kaushalye Kapuruge (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-411) rampart segfaults with unavailability of "timeToLive" property In-Reply-To: <11892133.1163940397588.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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 > > > > 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); > > 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