Closed Bug 276058 Opened 20 years ago Closed 20 years ago

Download manager calculates nonsence, which more than 2 GB Download size

Categories

(SeaMonkey :: Download & File Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 228968

People

(Reporter: georg, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041223
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041223

The variable holding the filesize seams to be a signed 32 bit variable. When
downloading e.g. a DVD image with more than 2 GB size the progress bar does not
diaplay a percentage and bthe transfered size becomes negative counting
backwards, when the transfered size exceeds 2 GB.

Try to replace the int variable (32) with a long long or an unsigned long long.

Reproducible: Always

Steps to Reproduce:
1. Download a large file e.g. a DVD image and waits some hours until the
transfered size exceeds 2 GB.
Actual Results:  
negative values beyond 2GB

Expected Results:  
display non negative values supporting at least 64 Bit to represent the filesize.

*** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.