Subject: bin/5273: ftp client follows NULL pointer
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tri@iki.fi>
List: netbsd-bugs
Date: 04/09/1998 18:20:38
>Number:         5273
>Category:       bin
>Synopsis:       ftp client follows NULL pointer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr  9 08:35:00 1998
>Last-Modified:
>Originator:     Timo J. Rinne
>Organization:
	Helsinki University of Technology
>Release:        1.3
>Environment:
	NetBSD 1.3 i386
System: NetBSD tsuubi-duubi-duu.cs.hut.fi 1.3 NetBSD 1.3 i386


>Description:
	If you push Control-D to ftp clients login-id query it
	probably follows NULL and sends garbage to the remote end
	with USER command.
>How-To-Repeat:
	911.pooh:~> ftp ftp.funet.fi
	Connected to nic.funet.fi.
	220-Hello UNKNOWN at pooh.tky.hut.fi,

	Name (ftp.funet.fi:tri):
    ***PRESS CONTROL-D HERE
	331 Password required for [GARBAGE HERE].
	Password: 
    ...
>Fix:
	Should be quite straitforward.  If login-name query returns NULL,
	then use default or abort if none available.  Or something.
>Audit-Trail:
>Unformatted: