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


Groups > gnu.bash.bug > #16203

Re: process substitution fd lifetime race condition

From "Jason A. Donenfeld" <Jason@zx2c4.com>
Newsgroups gnu.bash.bug
Subject Re: process substitution fd lifetime race condition
Date 2020-04-20 15:43 -0600
Message-ID <mailman.836.1587419036.3066.bug-bash@gnu.org> (permalink)
References <20200420051508.GA2359844@zx2c4.com> <7496b183-2db3-6c03-6074-928adcd08f45@case.edu> <CAHmME9p_n_W6721mY4=MWpKJvDTNsvEQbA9EB5chsrwyOzSgqw@mail.gmail.com> <CAHmME9o+guCLQsOUxfhrwY83jRT04TqrNU-dVYPi0f=PdEv=kg@mail.gmail.com>

Show all headers | View raw


Here's a simpler reproducer:

set -e
a="my name is a"
b="my name is b"
pretty() { echo -e "\x1b[0m"; }
doit() { pretty; "$@"; }
while true; do
   doit cat <(echo "$a") <(echo "$b")
done

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


Thread

Re: process substitution fd lifetime race condition "Jason A. Donenfeld" <Jason@zx2c4.com> - 2020-04-20 15:43 -0600

csiph-web