Re: Another undo list UAF

2025-01-20 Thread Chet Ramey
On 1/17/25 7:36 PM, Grisha Levit wrote: And in a non-ASAN build: Nope. Not on intel running 15.1.1, either. Very odd, I just tried intel 15.1.1 and still see the error. Do you have the same clang version? Or any suppressions in ASAN_OPTIONS? Yes, the same clang version. ASAN_OPTIONS is not

Re: Another undo list UAF

2025-01-17 Thread Grisha Levit
On Fri, Jan 17, 2025 at 5:34 PM Chet Ramey wrote: > > On 1/17/25 4:57 PM, Grisha Levit wrote: > > On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote: > >> > >> On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote: > >>> > >>> On 1/15/25 4:0

Re: Another undo list UAF

2025-01-17 Thread Chet Ramey
On 1/17/25 4:57 PM, Grisha Levit wrote: On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote: On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey 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

Re: Another undo list UAF

2025-01-17 Thread Chet Ramey
On 1/17/25 4:47 PM, Grisha Levit wrote: I just tried a fresh build on macOS (15.2, arm64) and see the same result: $ ./configure CFLAGS='-fsanitize=address' $ 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$

Re: Another undo list UAF

2025-01-17 Thread Grisha Levit
On Fri, Jan 17, 2025 at 4:47 PM Grisha Levit wrote: > > On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey wrote: > > > > On 1/15/25 4:08 PM, Grisha Levit wrote: > > > Another undo list UAF. Related, I think, to edit-and-execute-command. > > > > > > HISTFIL

Re: Another undo list UAF

2025-01-17 Thread Grisha Levit
On Fri, Jan 17, 2025 at 9:31 AM Chet Ramey 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<'

Re: Another undo list UAF

2025-01-17 Thread microsuxx
those bugs have old lib versions around .. On Fri, Jan 17, 2025, 3:32 PM Chet Ramey 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 <<< $'

Re: Another undo list UAF

2025-01-17 Thread Chet Ramey
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. -- ``The lyf so short, the craft so

Another undo list UAF

2025-01-15 Thread Grisha Levit
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<' AddressSanitizer: heap-use-after-free on address 0xe09245621f48 READ of size 4 at 0xe09245621f48 thread T0 #0 0xb168908a6edc in r