Date: Sun, 28 Apr 2002 23:22:23 -0400 (EDT) From: "winter@villaweb.net" <winter@bmw.isprime.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/37551: Telnet crashes on unexpected control codes Message-ID: <200204290322.g3T3MNv85143@bmw.isprime.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204290322.g3T3MNv85143>
