Closed Bug 283845 Opened 19 years ago Closed 19 years ago

download file size overflows from positive to negative at undetermined filesize (less than 3 GB)

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 228968

People

(Reporter: janders5, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

I was downloading the SUSE 9.2 installation DVD iso with the firefox 1.0
download manager. At some poing (I'm not sure when) the filesize rolled over to
the negative side. Since filesizes are not ever negative, the datatype used to
store this value should probably be changed to an absolute value, not a signed
value.

Reproducible: Always

Steps to Reproduce:
1. Attempt to download the file.

Actual Results:  
After approximately half of the file has been downloaded, the filesize overflows
to negative.

Expected Results:  
Filesize should have accurately reflected the size of the file.

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