Bug 163242 - wget crashes when it receives uncommon responses from ftp server (in this case from a firewall)
wget crashes when it receives uncommon responses from ftp server (in this cas...
Product: Fedora
Classification: Fedora
Component: wget (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Karsten Hopp
Depends On:
  Show dependency treegraph
Reported: 2005-07-14 09:28 EDT by Kari Hautio
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: wget-1.10.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-07 10:37:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
wget core (476.00 KB, application/octet-stream)
2005-07-14 09:30 EDT, Kari Hautio
no flags Details

  None (edit)
Description Kari Hautio 2005-07-14 09:28:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
When using wget to fetch file over ftp connection and there's a semi intelligent firewall in between wget crashes.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
NOTE: there must be a firewall spurting fancy responses to see this behaviour.

1.wget ftp://people.redhat.com/foobar

2.wget -d ftp://people.redhat.com/foobar

Actual Results:  [khautio@dhcp09294 ~]$ wget ftp://people.redhat.com/foobar
--16:15:01--  ftp://people.redhat.com/foobar
           => `foobar'
Resolving people.redhat.com...
Connecting to people.redhat.com[]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ...
Server error, can't determine system type.
==> PWD ... Segmentation fault (core dumped)
[khautio@dhcp09294 ~]$ wget -d ftp://people.redhat.com/foobar
DEBUG output created by Wget 1.9+cvs-stable (Red Hat modified) on linux-gnu.

--16:16:12--  ftp://people.redhat.com/foobar
           => `foobar'
Resolving people.redhat.com...
Caching people.redhat.com =>
Connecting to people.redhat.com[]:21... connected.
Created socket 3.
Releasing 0x91830d8 (new refcount 1).
Logging in as anonymous ... 220-Location: Espoo
220-        Unauthorized access prohibited. All connections are logged.
220-        You need Firewall account in order to access Nokia network.

--> USER anonymous

331 PASSCODE: you can use password@PASSCODE

--> PASS -wget@

200 PASSCODE: you can use 'quote PASSCODE' or Account command ('ACCT')
Logged in!
==> SYST ...
--> SYST

500 'SYST': command not understood

Server error, can't determine system type.
==> PWD ...
--> PWD

421-Access denied - wrong user name or password
421 aborted
Segmentation fault (core dumped)
[khautio@dhcp09294 ~]$

Expected Results:  wget should have exited with some error 

Additional info:
Comment 1 Kari Hautio 2005-07-14 09:30:41 EDT
Created attachment 116747 [details]
wget core

This core was dumped by running "wget -d ftp://people.redhat.com/foobar"
Comment 2 Roberto Pallucchini 2005-08-04 03:53:19 EDT
can you tell me another site that i can reproduce this error?
i have tryed people.redhat.com but it work correctly with my system. Do you pass
throught a firewall or other to access internet?

Comment 3 Karsten Hopp 2005-09-07 10:37:21 EDT
Please try again with wget-1.10.1 from the development tree and reopen this
bugreport if the problem still exists

Note You need to log in before you can comment on or make changes to this bug.