bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault on stack blowup with ridiculous && chains


From: Sarah Brofeldt
Subject: segfault on stack blowup with ridiculous && chains
Date: Wed, 18 May 2016 16:02:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

I'm not sure whether this is actually acceptable behaviour, but a ridiculously long && chain blows up bash:

echo -n "" &&
echo -n "" &&
(... repeated 100.000 times)
echo -n ""

causes a segfault with ulimit -s 8192 in bash 4.3.42(1)-release and 4.4.0(1)-rc2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]