On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit <grishale...@gmail.com> wrote: > > On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey <chet.ra...@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