bug-bash
[Top][All Lists]
Advanced

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

Re: Another undo list UAF


From: Grisha Levit
Subject: Re: Another undo list UAF
Date: Fri, 17 Jan 2025 16:57:14 -0500

On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit <grishalevit@gmail.com> wrote:
>
> On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey <chet.ramey@case.edu> wrote:
> >
> > On 1/15/25 4:08 PM, Grisha Levit wrote:
> > > Another undo list UAF. Related, I think, to edit-and-execute-command.
> > >
> > > HISTFILE= INPUTRC=/ bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'
> >
> > I can't reproduce this on macOS.
> >
>
> I just tried a fresh build on macOS (15.2, arm64) and see the same result:
>
> $ ./configure CFLAGS='-fsanitize=address'

And in a non-ASAN build:

$ ./configure
$ make -j
$ HISTFILE= INPUTRC=/ ./bash --norc -in <<< $' \n\cP \cN\cP\cU\cX\cE\n\e<'

bash-5.3$
bash-5.3$
bash-5.3$
bash-5.3$
Segmentation fault: 11



reply via email to

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