bug-bash
[Top][All Lists]
Advanced

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

Re: history-search-* and undo lists


From: Grisha Levit
Subject: Re: history-search-* and undo lists
Date: Fri, 13 Dec 2024 14:36:37 -0500

On Thu, Dec 12, 2024 at 5:03 PM Chet Ramey <chet.ramey@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

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