Bug 92388 - FTP client core dumps after failed login
Summary: FTP client core dumps after failed login
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ftp
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-05 18:23 UTC by Brandon Poyner
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-04 08:21:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Brandon Poyner 2003-06-05 18:23:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Avant Browser 
[avantbrowser.com])

Description of problem:
On a fully patched RedHat 9 box the ftp client can segfault under the right 
conditions.

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

How reproducible:
Sometimes

Steps to Reproduce:
1. Create an account on the FTP server with a non-existent home directory, eg: 
bpoyner::501:501::/nonexistent:/bin/bash
2. Use the FTP client to connect to FTP server, connect using new account
3. After the server responds with a '500 OOPS: chdir' error, repeatedly try ftp 
client commands until core dump.    

Actual Results:  [bpoyner@zippy bpoyner]$ uname -a
Linux zippy.ccac.edu 2.4.20-18.9 #1 Thu May 29 08:37:23 EDT 2003 i686 i686 i386 
GNU/Linux
[bpoyner@zippy bpoyner]$ ulimit -c 100000
[bpoyner@zippy bpoyner]$ ftp borg
Connected to borg (163.129.254.12).
220 ready, dude (vsFTPd 1.1.0: beat me, break me)
Name (borg:bpoyner):
331 Please specify the password.
Password:
500 OOPS: chdir
Login failed.
ftp> ls
421 Service not available, remote server has closed connection
Passive mode refused.
ftp> Segmentation fault (core dumped)
[bpoyner@zippy bpoyner]$ ls -l core.5152
-rw-------    1 bpoyner  bpoyner    278528 Jun  5 14:17 core.5152


Expected Results:  No segfault.

Additional info:

Comment 1 Thomas Woerner 2004-04-22 12:35:07 UTC
Is this /usr/bin/ftp or /usr/kerberos/bin/ftp?

Comment 2 Thomas Woerner 2004-08-04 08:21:52 UTC
closing due to user inactivity.


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