Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: CUTOFF-0.1
-
Fix Version/s: CUTOFF-0.1.1
-
Component/s: Cutoff Date
-
Labels:None
-
Number of attachments :
Description
Following piece of code might lead to incorrect results, because of integer overflow ( eg. for property 100 ) :
CutoffFilter.java
cutoffDate = new Date(System.currentTimeMillis() - Integer.parseInt(property) * 24 * 60 * 60 * 1000);
Fixed in r3772.