From winter@bmw.isprime.com  Sun Apr 28 20:22:24 2002
Return-Path: <winter@bmw.isprime.com>
Received: from bmw.isprime.com (bmw.isprime.com [130.94.140.2])
	by hub.freebsd.org (Postfix) with ESMTP id B4D2D37B416
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Apr 2002 20:22:23 -0700 (PDT)
Received: (from winter@localhost)
	by bmw.isprime.com (8.11.6/8.11.3) id g3T3MNv85143;
	Sun, 28 Apr 2002 23:22:23 -0400 (EDT)
	(envelope-from winter)
Message-Id: <200204290322.g3T3MNv85143@bmw.isprime.com>
Date: Sun, 28 Apr 2002 23:22:23 -0400 (EDT)
From: "winter@villaweb.net" <winter@bmw.isprime.com>
Reply-To: "winter@villaweb.net" <winter@bmw.isprime.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Telnet crashes on unexpected control codes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37551
>Category:       bin
>Synopsis:       Telnet crashes on unexpected control codes
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 28 20:30:01 PDT 2002
>Closed-Date:    Mon Apr 29 07:29:13 PDT 2002
>Last-Modified:  Mon Apr 29 07:29:13 PDT 2002
>Originator:     winter
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD bmw.isprime.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Feb 21 15:37:10 EST 2002 root@bmw.isprime.com:/usr/src/sys/compile/BMW i386


	Dell 1550, FBSD 4.5-Stable
>Description:
	Telnet crashes when you type CTRL \ at the telnet> prompt.
	GDB shows the following:
	main (argc=1, argv=0xbfbffc44) at main.c:361
	361             for (;;) {
	(gdb) 
	367                             command(1, 0, 0);
	(gdb) 

	Program received signal SIGQUIT, Quit.
	0x28136bfc in read () from /usr/lib/libc.so.4
	(gdb) 

>How-To-Repeat:
	telnet
	press CTRL \
>Fix:
	Not sure best way of handling this, I assume just trapping sigquit and making it run a null function would work, but I 
don't know if that's the best way.

>Release-Note:
>Audit-Trail:

From: Edwin Groothuis <edwin@mavetju.org>
To: "winter@villaweb.net" <winter@bmw.isprime.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/37551: Telnet crashes on unexpected control codes
Date: Mon, 29 Apr 2002 13:56:25 +1000

 On Sun, Apr 28, 2002 at 11:22:23PM -0400, winter@villaweb.net wrote:
 > 	Dell 1550, FBSD 4.5-Stable
 > >Description:
 > 	Telnet crashes when you type CTRL \ at the telnet> prompt.
 > 	GDB shows the following:
 > 	main (argc=1, argv=0xbfbffc44) at main.c:361
 > 	361             for (;;) {
 > 	(gdb) 
 > 	367                             command(1, 0, 0);
 > 	(gdb) 
 
 It will happen to nearly all applications, it is the default behaviour
 after a SIGQUIT signal. See sigaction(2).
 
 Edwin
 
 -- 
 Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
 edwin@mavetju.org    |        Interested in MUDs? Visit Fatal Dimensions:
 bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

From: "winter@villaweb.net" <winter@bmw.isprime.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: bin/37551: Telnet crashes on unexpected control codes
Date: Sun, 28 Apr 2002 23:22:23 -0400 (EDT)

 >Number:         37551
 >Category:       bin
 >Synopsis:       Telnet crashes on unexpected control codes
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       medium
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sun Apr 28 20:30:01 PDT 2002
 >Closed-Date:
 >Last-Modified:
 >Originator:     winter
 >Release:        FreeBSD 4.5-STABLE i386
 >Organization:
 >Environment:
 System: FreeBSD bmw.isprime.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Feb 21 15:37:10 EST 2002 root@bmw.isprime.com:/usr/src/sys/compile/BMW i386
 
 
 	Dell 1550, FBSD 4.5-Stable
 >Description:
 	Telnet crashes when you type CTRL \ at the telnet> prompt.
 	GDB shows the following:
 	main (argc=1, argv=0xbfbffc44) at main.c:361
 	361             for (;;) {
 	(gdb) 
 	367                             command(1, 0, 0);
 	(gdb) 
 
 	Program received signal SIGQUIT, Quit.
 	0x28136bfc in read () from /usr/lib/libc.so.4
 	(gdb) 
 
 >How-To-Repeat:
 	telnet
 	press CTRL \
 >Fix:
 	Not sure best way of handling this, I assume just trapping sigquit and making it run a null function would work, but I 
 don't know if that's the best way.
 
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 
 To Unsubscribe: send mail to majordomo@FreeBSD.org
 with "unsubscribe freebsd-bugs" in the body of the message
 
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Mon Apr 29 07:27:17 PDT 2002 
State-Changed-Why:  
It is not a bug, it is an expected behaviour. Please take a look at termios(4), 
sigaction(2) and stty(1) for more details. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37551 
>Unformatted:
