bug-bash
[Top][All Lists]
Advanced

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

Re: Bash Segmentation fault within lastpipe mode


From: Chet Ramey
Subject: Re: Bash Segmentation fault within lastpipe mode
Date: Thu, 19 Jun 2014 08:08:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 6/19/14, 4:43 AM, scorp.dev.null@gmail.com wrote:

> Bash Version: 4.2
> Patch Level: 45
> Release Status: release
> 
> Description:
> 
> in case use overwrite variables within "while loop" in  lastpipe mode i get 
> "Segmentation fault"

Thanks for the report.  The lastpipe code needs to be more careful checking
whether or not the jobs list has not been modified.  I've attached a patch
to bash-4.3 that fixes the problem.

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/

Attachment: lastpipe-nested-pipe-segfault.patch
Description: Source code patch


reply via email to

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