Re: history-search-* and undo lists

2024-12-16 Thread Chet Ramey
On 12/13/24 2:36 PM, Grisha Levit wrote: On Thu, Dec 12, 2024 at 5:03 PM Chet Ramey 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 al

Re: history-search-* and undo lists

2024-12-13 Thread Grisha Levit
On Thu, Dec 12, 2024 at 5:03 PM Chet Ramey 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):

Re: history-search-* and undo lists

2024-12-12 Thread Chet Ramey
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. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brev

Re: history-search-* and undo lists

2024-12-12 Thread Grisha Levit
On Mon, Dec 2, 2024 at 1:56 PM Chet Ramey wrote: > > On 11/18/24 10:22 PM, Grisha Levit wrote: > > But here's a remaining one in combination with history-expand-line: > > Thanks for the report. I'm not sure what to do about this one yet. > > > > > HISTFILE= INPUTRC=/ bash --norc -in <<< \ > > $'X\

Re: history-search-* and undo lists

2024-12-02 Thread Chet Ramey
On 11/18/24 10:22 PM, Grisha Levit wrote: On Tue, Nov 5, 2024 at 11:20 AM Chet Ramey wrote: On 10/18/24 4:22 PM, Grisha Levit wrote: There's some issue with undo list handling in history-search-* commands: Doing a successful search with a line that has an undo list causes the undo entries fr

Re: history-search-* and undo lists

2024-11-18 Thread Grisha Levit
On Tue, Nov 5, 2024 at 11:20 AM Chet Ramey wrote: > > On 10/18/24 4:22 PM, Grisha Levit wrote: > > There's some issue with undo list handling in history-search-* commands: > > > > Doing a successful search with a line that has an undo list causes the > > undo entries from that list to leaked: > >

Re: history-search-* and undo lists

2024-11-05 Thread Chet Ramey
On 10/18/24 4:22 PM, Grisha Levit wrote: There's some issue with undo list handling in history-search-* commands: Doing a successful search with a line that has an undo list causes the undo entries from that list to leaked: Thanks for the report. Please try this with the latest devel branch pu