#83 entering filesizes > 4294967296 fails

closed-fixed
nobody
None
5
2009-02-09
2008-09-18
No

On the Edit-page entering filesizes larger than 4294967295 bytes results in an output of 4096 mb. If the edit view is opened again 4294967295 is shown in the Filesize: field regardless of the number you entered. One can say the entered filesize gets capped at 4096 mb.

Discussion

  • Dan F. B.

    Dan F. B. - 2009-02-08

    It's because size is stored as INT (which is unsigned 32bit, 2^32 = 4294967296, 4096mb max value)
    The fix is easy, just change the field type to BIGINT (64bit, about 17 000 000 TB max size)

     
  • Andreas Goetz

    Andreas Goetz - 2009-02-09

    Fixed in CVS

     
  • Andreas Goetz

    Andreas Goetz - 2009-02-09
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks