[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use-after-free in set -o vi mode
From: |
Chet Ramey |
Subject: |
Re: use-after-free in set -o vi mode |
Date: |
Tue, 25 Jun 2024 11:03:47 -0400 |
User-agent: |
Mozilla Thunderbird |
On 6/24/24 2:51 PM, rtm@csail.mit.edu wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
When I run bash under valgrind, and run set -o vi, and then type
ESC d 1 C
valgrind says
Invalid read of size 4
at 0x1D536A: _rl_vi_domove_motion_cleanup (vi_mode.c:1193)
Thanks for the report. This was fixed back in March, 2023 as the result of
https://lists.gnu.org/archive/html/bug-readline/2023-03/msg00007.html
The fix is in the devel branch and bash-5.3-alpha/readline-8.3-alpha.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/