bug-bash
[Top][All Lists]
Advanced

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

Re: Bugs in bash-4.4-beta running on OpenBSD


From: Chet Ramey
Subject: Re: Bugs in bash-4.4-beta running on OpenBSD
Date: Mon, 26 Oct 2015 09:02:21 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 10/26/15 8:07 AM, Eduardo A. Bustamante López wrote:
> Hi Chet,
> 
> I compiled bash with:
> 
> CFLAGS='-O0 -g' ./configure --silent && make -j2 && make tests 2>&1 | tee 
> out.log
> 
> And I get many parsing errors in the results. Most seem to be parenthesis
> related, and some segfaults. I hope these two lead to fixing the whole thing:

Use bison.  Command substitution requires invoking the parser recursively,
and byacc is completely incapable of reentrant parsing.

This is one of the reasons that production bash releases ship with versions
of y.tab.c and y.tab.h generated by bison.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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