Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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 :
      0

      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);
      

        Activity

        Hide
        Evgeny Mandrikov added a comment -

        Fixed in r3772.

        Show
        Evgeny Mandrikov added a comment - Fixed in r3772 .

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Evgeny Mandrikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: