Bug 1076361 - Event expiration calculation may overflow
Summary: Event expiration calculation may overflow
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER1
: 6.0.2
Assignee: Mario Fusco
QA Contact: Tomas Schlosser
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-14 08:12 UTC by Mario Fusco
Modified: 2014-08-06 19:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:54:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-455 0 Critical Resolved Event expiration calculation may overflow 2014-05-06 09:20:58 UTC

Description Mario Fusco 2014-03-14 08:12:07 UTC
The calculation of the expiration timestamp of an event in the OTN is effectively given by the combination :

Handle.startTimeStamp + Handle.duration + OTN.expirationOffset 

If the addition overflows, the event will be scheduled for expiration immediately.

Comment 1 Mario Fusco 2014-03-14 08:12:58 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/efcdfa0e4

Comment 2 JBoss JIRA Server 2014-03-14 08:14:15 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-455 to Resolved

Comment 4 Tomas Schlosser 2014-05-06 09:20:50 UTC
Verified with BRMS 6.0.2 ER2.


Note You need to log in before you can comment on or make changes to this bug.