Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11767

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Bugs in bash-4.4-beta running on OpenBSD
Date 2015-10-26 09:02 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1071.1445864581.7904.bug-bash@gnu.org> (permalink)
References <20151026120735.GC20697@ma.sdf.org>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Bugs in bash-4.4-beta running on OpenBSD Chet Ramey <chet.ramey@case.edu> - 2015-10-26 09:02 -0400

csiph-web