Re: segfault on stack blowup with ridiculous && chains

2016-05-18 Thread Chet Ramey
On 5/18/16 10:02 AM, Sarah Brofeldt wrote: > I'm not sure whether this is actually acceptable behaviour, but a > ridiculously long && chain blows up bash: Bash will obediently attempt to run what you tell it to until it runs out of resources. -- ``The lyf so short, the craft so long to lerne.''

segfault on stack blowup with ridiculous && chains

2016-05-18 Thread Sarah Brofeldt
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