cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3576) Potential overflow for lifetime calculation in STSClient
Date Wed, 08 Jun 2011 07:30:58 GMT

     [ https://issues.apache.org/jira/browse/CXF-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christian Schneider resolved CXF-3576.
--------------------------------------

    Resolution: Fixed

Patch applied Jenkins tests currently running

> Potential overflow for lifetime calculation in STSClient
> --------------------------------------------------------
>
>                 Key: CXF-3576
>                 URL: https://issues.apache.org/jira/browse/CXF-3576
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.4
>            Reporter: Oliver Wulff
>            Assignee: Christian Schneider
>             Fix For: 2.4.1
>
>         Attachments: STSClient.patch, patch.diff
>
>
> This code performs integer multiply and then converts the result to a long:
> expirationTime.setTime(creationTime.getTime() + (ttl * 1000));
> Fix:
> expirationTime.setTime(creationTime.getTime() + (ttl * 1000L));

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message