Re: process substitution fd lifetime race condition
From:
Jason A. Donenfeld
Subject:
Re: process substitution fd lifetime race condition
Date:
Mon, 20 Apr 2020 15:56:40 -0600
On Mon, Apr 20, 2020 at 3:49 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> On 4/20/20 5:01 PM, Jason A. Donenfeld wrote:
> > On 4/20/20, Chet Ramey <chet.ramey@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.