Vulnerability Development mailing list archives

Re: Bug in bash ?


From: walter valenti <waltervalenti () yahoo it>
Date: Mon, 12 Nov 2001 10:34:19 +0100

On Debian GNU/Linux 2.2.19

bash: crash.

csh: Word too long.

sh: Segmentation fault

    Walter

When I was runnig some programs like vi or mpg123 with parameter with many
"%s/*" i have strange results fe.
argv@jaskinia:~$ mpg123 `perl -e 'print "/*%s"x9000'`
[now i'm seeing prompt to login]

As you can see after this command shell (bash) is exiting.
It's don't work under tcsh and csh:

tcsh:
mpg123 `perl -e 'print "/*%s"x9000'`
Word too long.


csh:
%mpg123 `perl -e 'print "/*%s"x9000'`
Word too long.
%

I don't tried it under other shells.

--
-=[  Patryk Chmielewski   -> :: <-   argv () jaskinia eu org  ]=-
-=[   ******      http://argv.jaskinia.eu.org     ******   ]=-
-=[ "If you lie to the compiler, it will get its revenge." ]=-

Current thread: