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


Groups > gnu.bash.bug > #15399

SIGINT and process substitution leakage

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Grisha Levit <grishalevit@gmail.com>
Newsgroups gnu.bash.bug
Subject SIGINT and process substitution leakage
Date Sat, 21 Sep 2019 19:21:28 -0400
Lines 11
Approved bug-bash@gnu.org
Message-ID <mailman.752.1569108109.2190.bug-bash@gnu.org> (permalink)
References <CAMu=BrrDacvLTR5qHAzZQK7MG7UiZGupn-2riVpK1frixvC-Gw@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1569108109 3924 209.51.188.17 (21 Sep 2019 23:21:49 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash <bug-bash@gnu.org>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=utobJzNtDzFc8+sWu9D6SANZAPKoaeNunevezXJdp1c=; b=QfzJ1Lm5otb2AELxyxpMTls+1WeLY6XXO4g32z/ZIDAojdKPHpSMI67mEDq7nB+cDL zZCKfJqyZImUW+j6NqLotTOIi3mOOlMdGJziSN04zGybUIqUPz8XML8oL7pzfUwrImhM v2g1Vp0UqrkjELQ7n37HjDMMRXWjTgkTV1vsX0u1v4tO2zcxg0cvsQZ9jmkCq1XeIl7b bYhTABvKOnFzKkcuoJJfolcDlKdtTPH2Nx2f96cYTSoM+bNBXluVY9nAEDCkXcP7Z6Vw RiIM84rxmU7AYqA1Eg9uRsiY6b5AyIyFEBQGw2FElttvkmyclcTGbWvHX0izJTMVXR5y NnIg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=utobJzNtDzFc8+sWu9D6SANZAPKoaeNunevezXJdp1c=; b=LOOkdoscyCqUEFQXyEMtTB41975acYXMnTB4UTcecWrX1XpDpz3F6p4VTpz2Kl7ozD KB8z1L/iYDnau5es70ViSaORr/ZO7oqJGVU/hKf2DF5C+0xRQz16MqbvUD7Zvwt0J0l0 mzUAWQd/jsJ5FRg9K03QSJh/qsPX67FvCXVq1z0MkgzghMNxizY7D1Ye1I6jvojg4uuJ F2OK2Ju2riBNvoI6HPO+MppMweQuO33gExpSoUcsmQ0v4e0K9QhNSOP96Y0MSdseUK/a SPsGvXp2SJ5EOxLlaqiKdSRzrd+1Qr12CJi83r8Ob/uK4+Y73aU+08QKQnOFGsBr/7Fq yZyA==
X-Gm-Message-State APjAAAXh1rPeoOTQ8e7QiU3uLQVxWxiXa0eBZ8kK9y5S1DHTaBQUGkzM +LVCl3IFJuj8cLH0491xIdiStZQ58YwVZc6+nc3J6cBvl8E=
X-Google-Smtp-Source APXvYqzYv2tncAzSmdBb8OwsnLG2i5i+mFr4e/MSpDxvYNkDjINYE9xLdURGjMEHRK1Y+N2zho+V2HUIx8lsAygVV7Y=
X-Received by 2002:a37:7ac1:: with SMTP id v184mr11067916qkc.129.1569108099324; Sat, 21 Sep 2019 16:21:39 -0700 (PDT)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4864:20::731
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAMu=BrrDacvLTR5qHAzZQK7MG7UiZGupn-2riVpK1frixvC-Gw@mail.gmail.com>
Xref csiph.com gnu.bash.bug:15399

Show key headers only | View raw


Running the below a few times results in a stray child bash process
(and a borked terminal, as the child will still read from the same
tty):

    kill -INT -$$ & while :; do : <(:); done

This seems to have started with bash-20150724 [1] and is present in
the current devel branch.

[1] https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=7afeb718cb55ab9f224936a2b58cde07559eb59f

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


Thread

SIGINT and process substitution leakage Grisha Levit <grishalevit@gmail.com> - 2019-09-21 19:21 -0400

csiph-web