Openfire

fix 2 GB problem within Auditor

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.6.4
  • Fix Version/s: 3.7.0
  • Component/s: Core
  • Acceptance Test - Add?:
    No
  • Description:

    auditor uses int values for file size - one may hit the 2 GB limit very soon, change it to long:
    int maxTotalSize
    int maxTotalSize

Activity

Hide
Daryl Herzmann added a comment - 11/25/08 09:59 PM

Hi LG,

Any comments about this issue? Is it still valid?

daryl

Show
Daryl Herzmann added a comment - 11/25/08 09:59 PM Hi LG, Any comments about this issue? Is it still valid? daryl
Hide
Daryl Herzmann added a comment - 01/11/10 01:36 PM

need more info

Show
Daryl Herzmann added a comment - 01/11/10 01:36 PM need more info
Hide
LG added a comment - 04/07/10 06:39 PM

the types in AuditorImpl are still "int", changing them to "long" should fix this
Eg: "if (totalLength(=long) > maxTotalSize(=int)) {" may cause trouble

Show
LG added a comment - 04/07/10 06:39 PM the types in AuditorImpl are still "int", changing them to "long" should fix this Eg: "if (totalLength(=long) > maxTotalSize(=int)) {" may cause trouble

People

  • Assignee:
    LG
    Reporter:
    LG
  • Votes:
    0
    Watchers:
    0

Dates

  • Created:
    12/07/06 10:27 PM
    Updated:
    04/11/10 12:20 PM
    Resolved:
    04/11/10 07:06 AM