From owner-freebsd-bugs Sun Apr 28 20:30:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E67C237B41D for ; Sun, 28 Apr 2002 20:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3T3U1c20797; Sun, 28 Apr 2002 20:30:01 -0700 (PDT) (envelope-from gnats) Received: from bmw.isprime.com (bmw.isprime.com [130.94.140.2]) by hub.freebsd.org (Postfix) with ESMTP id B4D2D37B416 for ; 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" Reply-To: "winter@villaweb.net" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/37551: Telnet crashes on unexpected control codes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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