On Thu, Dec 12, 2024 at 5:03 PM Chet Ramey <chet.ra...@case.edu> wrote:
>
> On 12/12/24 2:07 PM, Grisha Levit wrote:
>
> > FWIW there's still a use-after-free with something like:
> >
> > HISTFILE= INPUTRC=/ bash --norc -in <<< $'X\n\cPX\cR\n!\e3X\e^\n\cP'
>
> Thanks for the report.

See also (incl. after today's fix):

HISTFILE= INPUTRC=/ bash --norc -in <<< $'X\n\cPX\cN\cP!\e3X\e^\n\cP'
=================================================================
AddressSanitizer: heap-use-after-free lib/readline/undo.c:188:25 in rl_do_undo

Reply via email to