oss-sec mailing list archives

Re: Fwd: Non-upstream patches for bash


From: Hanno Böck <hanno () hboeck de>
Date: Fri, 26 Sep 2014 11:58:49 +0200

On Thu, 25 Sep 2014 23:19:24 +0530
Huzaifa Sidhpurwala <huzaifas () redhat com> wrote:

$ (for x in {1..200} ; do echo "for x$x in ; do :"; done; for x in
{1..200} ; do echo done ; done) > test-script.sh $ bash test-script.sh

While I can reproduce the other example and get a segfault, I don't see
anything with this. Is there a typo in it? (tried some variants to
correct, but nothing leads to anything interesting)
I just get a syntax error:

$ (for x in {1..200} ; do echo "for x$x in ; do :"; done; for x in
{1..200} ; do echo done ; done) > test-script.sh $ bash test-script.sh
bash: syntax error near unexpected token `$'

-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno () hboeck de
GPG: BBB51E42

Attachment: signature.asc
Description:


Current thread: