Bug 14512

Summary: user can cause a telnet.core on freebsd 2.2.7-RELEASE to atleast 3.3-19990917-STABLE
Product: Base System Reporter: ckeep <ckeep>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 2.2.7-RELEASE   
Hardware: Any   
OS: Any   

Description ckeep 1999-10-25 11:20:02 UTC
If a user presses ctl-\ before telnet connects, it will cause telnet
to core.

How-To-Repeat: $telnet 209.180.242.171 
Trying 209.180.242.171...
^\Quit (core dumped)

The key to doing it is doing it quick enough that it doesnt connect.
Comment 1 Ruslan Ermilov 1999-10-25 11:35:04 UTC
On Mon, Oct 25, 1999 at 03:18:12AM -0700, ckeep@acrossmedia.com wrote:
> 
> If a user presses ctl-\ before telnet connects, it will cause telnet
> to core. 

It's neither a bug, nor it is telnet(1)-specific.  It is happening
because your terminal key '^\' is bound to a special QUIT character.
Try `stty quit undef' or `stty -isig' before the telnet(1) session.
Refer to the stty(1), termios(4) and signal(3) manpages for details.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 1999-10-25 12:31:25 UTC
State Changed
From-To: open->closed

It is not a bug to dump core on SIGQUIT.