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


Groups > gnu.bash.bug > #16342

Re: Seg fault on "echo ~nosuchuser"

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Keith Thompson <Keith.S.Thompson@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Seg fault on "echo ~nosuchuser"
Date Mon, 1 Jun 2020 12:04:48 -0700
Lines 33
Approved bug-bash@gnu.org
Message-ID <mailman.937.1591038306.2541.bug-bash@gnu.org> (permalink)
References <CAAHpriPmaDcTYQLkyGqA6fM_AyVQkfN_f7p1qzkoqj-2-G1xBA@mail.gmail.com> <0c4fcd5b-3ac6-ea8c-e537-b4bfc9215de4@case.edu> <CAAHpriN1QYMAHOqAKHr=yOJF-0tiiKDnzqawXh+DYxP7=wrDiA@mail.gmail.com> <81924c39-6cde-617b-c5a7-5e3605e0c3b8@case.edu> <CAAHpriP=25drsYLtrOti2-fYEFjNpm76sAVskiVxUdthEB0vjw@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 1591038306 28375 209.51.188.17 (1 Jun 2020 19:05:06 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org, Keith Thompson <Keith.S.Thompson@gmail.com>
To Chester Ramey <chet.ramey@case.edu>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4u4jFICUoJw5iWBPeTj/xXRAEn3I36X1rJXCOMzPF1Q=; b=MHo0IwwLgSjoZGvCXe/900eqyO7W9CMvBgKcv4Zt/TJXk8X1dNhhmG48V+Y0KuZHsq ErfMb8msWCG7rDFc15pcej8xd6eb0puEwQd1QkGzYMYaG/y0Miqo5Mtcdj1jmpQCczx0 jlEARo50ffFNlOhP+0TceBFu5bdkhi2txdnAQXQUKfoqR1c2y++lSvZm2XX1MkPXhAtw dK2KlHws6Uct10GNHsG/Pb+S9yl9F76KBdFoGvD7QTzTVRYp8O0cTbsvDysR39jTGtsW TQDWao1jiFOO6TZh4qBZ4yvED4/2jtHkl18bd2xy28cteoCEM5YxZbJ4U8zYTSDax0fk p6YA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4u4jFICUoJw5iWBPeTj/xXRAEn3I36X1rJXCOMzPF1Q=; b=DoFsDr8LZqZ1It/S8s1cJ38dEum17smEuA8qyj2VLMnghGnhCclL75GNoxotboicTf 2CkaTl+IYcybzhOX9bUl3t95aXLd7SjJwtqoMphFTmQKwzmjmot7TPXWz0ZTr9aJQ3Cc JU1klGqA/AIlK82WY42ZDrBBMOxxzchTPBVic7s0/5C6zvxi9jzakKWvpbfDiOC/chmS KOk8ieZb8YNQY/6gEGIM/DtCgK53tgzcJaJSfEXuyaVBvTWvzxNaLmuynnErLy4hFhhl UDXsxxgsLoLQ28U2gPxkPV6kb8j3QxDlERIHxz1KCNtjpL3wBiOT44q9MeGDlwvqqDbY C6yw==
X-Gm-Message-State AOAM531GaDsc6ziO1gG9Kbsor4isE9i3b5+IJLesS92SV0WdanjmRnZC aaydUm6SDsBVoUX7cMUOstO/VTjDpWr9TeD53h0=
X-Google-Smtp-Source ABdhPJxnIUHtuQPjysXv0OidrcPF9+ayfyZ7LT3jo9zcuywwBNTe6FPhoKxuJuOGHSduDQ+lMdoZ+jkQDCGUlv3OABA=
X-Received by 2002:a50:e04c:: with SMTP id g12mr23100176edl.74.1591038301365; Mon, 01 Jun 2020 12:05:01 -0700 (PDT)
In-Reply-To <81924c39-6cde-617b-c5a7-5e3605e0c3b8@case.edu>
Received-SPF pass client-ip=2a00:1450:4864:20::534; envelope-from=keithsthompson@gmail.com; helo=mail-ed1-x534.google.com
X-detected-operating-system by eggs.gnu.org: No matching host in p0f cache. That's all we know.
X-Spam_score_int -20
X-Spam_score -2.1
X-Spam_bar --
X-Spam_report (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action no action
X-Content-Filtered-By Mailman/MimeDel 2.1.23
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 <CAAHpriP=25drsYLtrOti2-fYEFjNpm76sAVskiVxUdthEB0vjw@mail.gmail.com>
X-Mailman-Original-References <CAAHpriPmaDcTYQLkyGqA6fM_AyVQkfN_f7p1qzkoqj-2-G1xBA@mail.gmail.com> <0c4fcd5b-3ac6-ea8c-e537-b4bfc9215de4@case.edu> <CAAHpriN1QYMAHOqAKHr=yOJF-0tiiKDnzqawXh+DYxP7=wrDiA@mail.gmail.com> <81924c39-6cde-617b-c5a7-5e3605e0c3b8@case.edu>
Xref csiph.com gnu.bash.bug:16342

Show key headers only | View raw


On Mon, Jun 1, 2020 at 6:05 AM Chet Ramey <chet.ramey@case.edu> wrote:

> On 5/29/20 2:50 PM, Keith Thompson wrote:
>
> >> Can you try this with the current devel branch head from savannah? I
> >> have a suspicion about what's going on.
> >>
> >> http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-devel.tar.gz
> >
> > This did not reproduce the bug.
> >
> > $ ./bash --version
> > GNU bash, version 5.1.0(1)-alpha (x86_64-pc-linux-gnu)
> > Copyright (C) 2020 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> >
> > This is free software; you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> > $ ./bash -c 'echo ~nosuchuser'
> > ~nosuchuser
> > $
>
> OK, that's half of it.
>
> If you have a chance, can you verify that the problem exists with the
> bash-20200520 push?
>
>
> http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-ce1a3c07c4e17ed176edccd75892dfcf8242de60.tar.gz
>
>
Confirmed, the problem does exist with that version.

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


Thread

Re: Seg fault on "echo ~nosuchuser" Keith Thompson <Keith.S.Thompson@gmail.com> - 2020-06-01 12:04 -0700

csiph-web