Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Eric Pruitt Newsgroups: gnu.bash.bug Subject: Re: Seg fault on "echo ~nosuchuser" Date: Thu, 28 May 2020 20:20:55 -0700 Lines: 31 Approved: bug-bash@gnu.org Message-ID: References: <20200529032055.GA23088@sinister.lan.codevat.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1590722463 17730 209.51.188.17 (29 May 2020 03:21:03 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Keith Thompson Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:pgp-key:user-agent; bh=To38hfc1m5zdKl1MTW6HYea6zIMtVKfwvG5VA/MM+/I=; b=vQ/JUFpKR8lzw9SY3vQxzK/KialIK1FE4JPYjdwpciHEg4/En16b8I11i60VGMnVot d24+y6U/v4t75T6GTm1cgUpECMGbd+TwHQHwXTb6upY0RcwXTKqpmas3OlqGOovl6L1J 3u8aLMHv5/dktiecqAM2hk4v7WiSPMH3hwu3f0Q3PIKHGjBw3RMsCO8sVtMjsMfbIgj0 4JOHh9gP3uwQY62yE7k1sMV3mgc8jjZlaRG0CNzJ+7Qys1p4sqPKWpcix/B5pKSTK8ms jJptgk9GX3nBmcAh4KF96Lc8Hu+uW3ZRzTUSszDec0ALN5eN4T3S6lfQyzlzd223n+vY bhiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:pgp-key:user-agent; bh=To38hfc1m5zdKl1MTW6HYea6zIMtVKfwvG5VA/MM+/I=; b=q/JxEULctAk1I/Rh491fTdDW6jQU4csvWA+dHEMACgNig3JHms90gK5so6MdGqX+kL eDVPnjjFNRZX9smEEQ0HJNu7GQZyUiHcvnzl/UQoT0GSGR/KG3QbhDf547T1omGpRWTF KgHy6lIZ9JAqni/KFf9v3AKGvH1n4LGXFqCq4oJNwrDJS9mBRrgysA2X3KVhGqhLtbfJ WFWdwuBVKQA4letyixw+jvUIo6h3qLXYcFMVsIbIcfQ8vl+Fg5jLKuoOcvV+EX9DL3q8 uRJp6YKMQ6Enkvi7TTray8fdW3hRGr/0W/0KbiYg/VNYm/hG/OgDeBfIhmqD8nMq6HUg 5KAA== X-Gm-Message-State: AOAM531yPg/L3C8MzlvEmWXbcMIGQSCo9mAr6mtKvQpgVWs+QaFhEKcx GAtuwRDaFBrxTLDxajFavE4= X-Google-Smtp-Source: ABdhPJwaujkAY8B64yuUALasisng9aaXK75Ojy2mHHG85qiKwdV7Kf7G/WWGpdhwCuzkk3dl1iI3GQ== X-Received: by 2002:a62:e408:: with SMTP id r8mr6422024pfh.213.1590722457843; Thu, 28 May 2020 20:20:57 -0700 (PDT) Content-Disposition: inline In-Reply-To: PGP-Key: https://www.codevat.com/pgp.asc#F8601B5D2511B4C3535232488DDDE2E6053692AB User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=eric.pruitt@gmail.com; helo=mail-pf1-x444.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20200529032055.GA23088@sinister.lan.codevat.com> X-Mailman-Original-References: Xref: csiph.com gnu.bash.bug:16315 On Thu, May 28, 2020 at 03:12:47PM -0700, Keith Thompson wrote: > I see this problem on copies of bash 5.0.16 and 5.0.17 built from > sourced on Ubuntu 20.04 LTS. It does *not* occur with the /bin/bash > GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu) > provided by the distribution. I haven't verified how far > back this goes. For what it's worth, I cannot reproduce this on Bash 5.0.17 compiled with musl 1.2.0 or glibc 2.28 on Debian 10, GCC 8.3.0. musl: ~$ bash --version GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) ... ~$ bash -c 'echo ~nosuchuser' ~nosuchuser glibc: bash-5.0$ ldd --version ldd (Debian GLIBC 2.28-10) 2.28 ... bash-5.0$ ./bash --version GNU bash, version 5.0.17(2)-release (x86_64-pc-linux-gnu) ... bash-5.0$ ./bash -c 'echo ~nosuchuser' ~nosuchuser Eric