bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] _rl_isearch_cleanup: avoid nested execution


From: Grisha Levit
Subject: Re: [PATCH] _rl_isearch_cleanup: avoid nested execution
Date: Sun, 17 Aug 2025 23:14:51 -0400

On Sun, Aug 17, 2025, 23:08 penguin p <tgckpg@gmail.com> wrote:

> I’ve applied your patch and tried again. Now it does this
>
> ```
> This is workbench@ArchLinux: ~/works/bash
> $ ^C
> This is workbench@ArchLinux: ~/works/bash
> $ ^C
> This is workbench@ArchLinux: ~/works/bash
> =================================================================
> ==1027392==ERROR: AddressSanitizer: heap-use-after-free on address
> 0x7c8e067e262c at pc 0x55f22402f88c bp 0x7ffe259e3790 sp 0x7ffe259e3780
> WRITE of size 4 at 0x7c8e067e262c thread T0
>     #0 0x55f22402f88b in _rl_search_getchar
> /home/arch/works/bash/lib/readline/isearch.c:322
>

Is this with both patches applied?

>


reply via email to

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