From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040809 Description of problem: wget displays bogus remote file sizes and fails to download remote files (only HTTP tested, not every server). Example of failure: [sun@nausicaa ~ :) 7]$ wget http://ftp.ie.freshrpms.net/pub/fedora/linux/core/development/i386/GPL --14:37:31-- http://ftp.ie.freshrpms.net/pub/fedora/linux/core/development/i386/GPL => `GPL' Resolving ftp.ie.freshrpms.net... 193.1.219.82 Connecting to ftp.ie.freshrpms.net[193.1.219.82]:80... connected. HTTP request sent, awaiting response... 200 OK Length: B,446,744,069,414,602,705 [text/plain] [ <=> ] 0 --.--K/s 14:37:32 (0.00 B/s) - `GPL' saved [0/0]) The file created is empty. Version-Release number of selected component (if applicable): wget-1.9.1-16 How reproducible: Always Steps to Reproduce: 1. use wget to download a http file 2. 3. Actual Results: Bogus file size (always), download fails (sometimes) Expected Results: Transfer of file Additional info:
*** Bug 133350 has been marked as a duplicate of this bug. ***
Confirming this on wget-1.9.1-16
Created attachment 104391 [details] bug fix patch fixes length problem, possibly breaks ability to reuse header_extract_number in other places. function doesn't appear to be called anywhere else.
Created attachment 104392 [details] no, really, this fixes it, honest oops, forgot to resize temporary result variable
*** This bug has been marked as a duplicate of 123524 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.