Closed Bug 286641 Opened 20 years ago Closed 20 years ago

Total-size overflow in download progress

Categories

(SeaMonkey :: Download & File Handling, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 228968

People

(Reporter: dmacks, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217

While downloading a DVD image, the Status line in the download progress dialog
is displaying a negative filesize. The link I followed for the download said it
was 2290.8 MB but the dialog says it's "-1848508KB". I wouldn't expect the
server to report a negative size (and that would have no meaning anyway, so if
that's what happened it's silly for Mozilla to report the bogus data). From
appearances it's an integer overflow, or an unsigned integer var printed using a
signed printf?

Reproducible: Always

Steps to Reproduce:
1. Configure Mozilla to not automatically open files.
2. Click on a link to download a "very large" file. I don't have a publicly
available example of this, but I get consistent results with several different
DVD images on the server.
3. Select "save to disk".

Actual Results:  
The download progress dialog reports a negative total size.

Expected Results:  
Report the actual size (if known), or "unknown" or "?" if not known or cannot be
reported.
Attached image Screenshot
Checked that URL using Safari: it reports a 2.2ishGB download size in its
download manager. Since the server is giving the correct size info, it's a
Mozilla bug.

Confirmed it's still broken in the 3/16 nightly:
  Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050316

*** 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.

Attachment

General

Creator:
Created:
Updated:
Size: