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


Groups > gnu.bash.bug > #14600

Re: expand_prompt_string segmentation faults

From Eduardo A. Bustamante López <dualbus@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: expand_prompt_string segmentation faults
Date 2018-09-17 20:41 -0700
Message-ID <mailman.906.1537242131.1284.bug-bash@gnu.org> (permalink)
References (1 earlier) <e8ac720a-276a-86d3-aaa7-7371df0737ce@case.edu> <20180916081228.GA31037@ubuntu> <89da4b51-fd95-3f1b-45df-a6ca68fa4840@case.edu> <20180916211528.GB31037@ubuntu> <c5ccaa18-5553-b085-b2ef-0e8d3bf6cb1b@case.edu>

Show all headers | View raw


On Sun, Sep 16, 2018 at 07:24:13PM -0400, Chet Ramey wrote:
> On 9/16/18 5:15 PM, Eduardo A. Bustamante López wrote:
> > On Sun, Sep 16, 2018 at 02:39:07PM -0400, Chet Ramey wrote:
> >> On 9/16/18 4:12 AM, Eduardo A. Bustamante López wrote:
> >>> Here's another interesting crash:
> >>>
> >>> $ base64 < 53
> >>> MBgFEBAQMBgFEBAfEA==
> >>>
> >>> $ gdb -batch -ex=r -ex=bt --args ./bash --noprofile --norc -c 'PATH=; set -o emacs; IFS= read -re' < 53
> >>
> >> I can't reproduce this on Mac OS X or Fedora 28.
> 
> OK, let me look around some more with your debugging hints. If I find it,
> it will be in the next devel branch push.

Hah! Thanks for the fix to rl_do_undo. I appreciate the comments, it makes it
easier to understand what's going on.

I ran this latest push through the set of crashes I found. They're all fixed.

Thanks again!

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


Thread

Re: expand_prompt_string segmentation faults Eduardo A. Bustamante López <dualbus@gmail.com> - 2018-09-17 20:41 -0700

csiph-web