Re: bug in telnet client?

From: Matthew Seaman <m.seaman_at_infracaninophile.co.uk>
Date: Thu, 08 Nov 2007 20:17:47 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

R.Mahmatkhanov wrote:
> Good day!
> 
> A friend of mine just pick this bug (whatever).
> 
> 1. run telnet
> 2. on telnet> prompt do:
>    - press and hold 'Ctrl' button
>    - then press '~' button
>    - then press '\' button
>    - unpress the 'Ctrl' button
> 3. You'll see this:
>    > telnet> ^\Quit (core dumped)
> 
> It plays in all tested 6.x/7.x with tcsh/zsh/xterm.

Ctrl-\ sends a SIGQUIT in most terminals:

happy-idiot-talk:~:% stty -a 
speed 38400 baud; 80 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
        -extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^H; erase2 = ^_at_; intr = ^C; kill = ^U;
        lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
                             ^^^^^^^^^^
        status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

The default action for a process receiving SIGQUIT is to halt
the program and dump core. See signal(3)

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHM27r8Mjk52CukIwRCJmWAJ44E6Q4U5ao/o6xhxjhcxC943jTUwCfXbxv
OjdoZLG1B+ZONxv6yHCjvfY=
=xffa
-----END PGP SIGNATURE-----
Received on Thu Nov 08 2007 - 19:17:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC