Re: heap-use-after-free in rl_do_undo

2023-04-26 Thread Grisha Levit
On Wed, Apr 26, 2023 at 2:15 PM Chet Ramey wrote: > This one looks like it was already hit by the other guy sending in fuzzing > output. You're right, sorry I missed that.

Re: heap-use-after-free in rl_do_undo

2023-04-26 Thread Chet Ramey
On 4/25/23 7:49 PM, Grisha Levit wrote: This segfaults in a non-ASAN build: HISTFILE= INPUTRC=<(echo '"F": history-substring-search-forward') \ bash --norc -in <<<$'.\n..\n\cP\cT\cPF\cN\cN.\cPF\c_' Thanks for the report. This one looks like it was already hit by the other guy sending in f

heap-use-after-free in rl_do_undo

2023-04-25 Thread Grisha Levit
This segfaults in a non-ASAN build: HISTFILE= INPUTRC=<(echo '"F": history-substring-search-forward') \ bash --norc -in <<<$'.\n..\n\cP\cT\cPF\cN\cN.\cPF\c_' ERROR: AddressSanitizer: heap-use-after-free on address 0x0001060082a8 READ of size 4 at 0x0001060082a8 thread T0 #0 0x1027627b8 in