On 4/20/20 5:56 PM, Jason A. Donenfeld wrote:
> On Mon, Apr 20, 2020 at 3:49 PM Chet Ramey <chet.ra...@case.edu> wrote:
>>
>> On 4/20/20 5:01 PM, Jason A. Donenfeld wrote:
>>> On 4/20/20, Chet Ramey <chet.ra...@case.edu> wrote:
>>>> On 4/20/20 1:15 AM, Jason A. Donenfeld wrote:
>>>>> Hi,
>>>>>
>>>>> I've uncovered a very unusual race condition when using process
>>>>> substitution and developed as minimal a reproducer as I could create:
>>>>
>>>> What version of bash are you using?
>>>>
>>>
>>> 5.0.016
>>
>> See if the patch in this message helps things. I'm skeptical, but give it
>> a try.
>>
>> https://lists.gnu.org/archive/html/bug-bash/2020-04/msg00018.html
> 
> Actually, it seems to work indeed... So far I can't repro with that.

OK, good. It was either that or closing the fd after reaping the child
process -- I couldn't tell 100% from the system call trace.

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

Reply via email to