This is also interesting. It exists in at least Redhat versions 5.2 - 7.2. % export DISPLAY=`perl -e 'print "%s"x9000'` ; telnet 0 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. Segmentation fault (core dumped) telnet client dies. Note that this only occurs when making a connection to a legitimate host with telnetd enabled. In this example I have in.telnetd running locally. -ryan -----Original Message----- From: Steve Micallef [mailto:stevenmat_private] Sent: Sunday, November 11, 2001 6:40 PM To: Patryk Chmielewski Cc: vuln-devat_private Subject: Re: Bug in bash ? What version of bash are you running? And on what OS? Regards, Steve Micallef On Sun, 11 Nov 2001, Patryk Chmielewski wrote: > 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 -> :: <- argvat_private ]=- > -=[ ****** http://argv.jaskinia.eu.org ****** ]=- > -=[ "If you lie to the compiler, it will get its revenge." ]=- >
This archive was generated by hypermail 2b30 : Mon Nov 12 2001 - 12:54:14 PST