Bugtraq mailing list archives

Re: Kvt bug


From: pioppo () FERRARA LINUX IT (Pioppo)
Date: Thu, 30 Sep 1999 11:56:48 +0200


Wed, 29 Sep 1999, in a message titled "Kvt bug", Sebastian Wain wrote:

In the xterm there is a feature to change the title of the window
You can change the title of the window sending one of the escape codes of the
xterm.
(linux: man console_codes)

By Example:

ESC]2;This is my Xterm^G

This escape code changes the xterm's title to "This is my Xterm"

Obviously You can do the same using the kvt (Kde Virtual Terminal).
But the kvt has a buffer overflow. If the size of the new title of the
window is big enough then the kvt will do a core dump.

xterm too (version 3.3.2.3) coredumps...
I tried this with echo -e "\033]2;(60e+06 times 'a')\007"

Konsole seems to resist even with a so long string.

--
    Simone Piunno,  http://pioppo.cjb.net,  simone () piunno com
     Ferrara Linux Users Group  -->  http://ferrara.linux.it
      ICQ UIN: 6914669       ICQ UIN: 6914669 pioppo@IRCnet on #ferrara, #linux-it
GnuPG/PGP5 fp: 9C15 F0D3 E309 3593 AC95  2C92 A0CD 52B4 8603 14FC



Current thread: