bug-bash
[Top][All Lists]
Advanced

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

Re: Bash crash bug


From: konsolebox
Subject: Re: Bash crash bug
Date: Sun, 29 May 2016 14:05:00 +0800

On Sun, May 29, 2016 at 1:17 PM, Matthias Zimmerman
<matthias291999@gmail.com> wrote:
> I found a bug in bashes redirection?
> anyway the recipe for disaster is,
>
> cat <(sudo {any command}) | {any other command}
>
> And if you ctl-C it/ try to kill it, bash will die

What command do you use, and what version of bash?  Mine doesn't crash
with 4.3 and 4.4-devel.

cat <(sudo pwd) | { cat ; }
cat <(sudo pwd) | { while cat; do :; done; }

You should also consider using bashbug so you could give more details
about the problem.

-- 
konsolebox



reply via email to

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