Closed
Bug 297716
Opened 20 years ago
Closed 20 years ago
download manager file size overflows at 2.1 gig (2^31) and reads negative numbers
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 228968
People
(Reporter: chris_synan, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 I was downloading fedora core 4 DVD ISO with a size of 2.7 GB. During the download the counter stopped rising and flipped over to -2xx,xxx,xxx,xxx It looks like the bytes counter is using a signed int and it flipped over at 2^31 and started counting from - 2^31 Reproducible: Always Steps to Reproduce: 1. find a file that is > 2.2 GB 2. download with download manager 3. watch the status in download manager Actual Results: The file still downloaded fine as best as I can tell. When the download was complete, the download manager indicated it as such. Expected Results: It should have displayed the file size using an unsigned int to 4.2 GB or the counter should only count KB instead of B, or the counter if counting B should use a datatype that can go over 4.2 GB (double?? I am not a C++ guy, sorry) did not crash, did not interrupt the download, only affected the display of the download size. I think it is a bit more serious than "trivial" -- maybe right between "trivial" and "minor"
Comment 1•20 years ago
|
||
FF1.0.4 is old (The gecko is over one year old) and this is already fixed. Please search before you file a bug and also tets a current nightly build. *** This bug has been marked as a duplicate of 228968 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•