Re: [PATCH] rl_tilde_expand: avoid uninitialized memory use

2024-10-18 Thread Chet Ramey
On 10/18/24 1:14 AM, Grisha Levit wrote: $ bash --norc -in <<< $'\e&' WARNING: MemorySanitizer: use-of-uninitialized-value #0 rl_tilde_expand lib/readline/util.c:208:10 Thanks for the report. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars

[PATCH] rl_tilde_expand: avoid uninitialized memory use

2024-10-17 Thread Grisha Levit
$ bash --norc -in <<< $'\e&' WARNING: MemorySanitizer: use-of-uninitialized-value #0 rl_tilde_expand lib/readline/util.c:208:10 --- lib/readline/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/readline/util.c b/lib/readline/util.c index 2bcc776a..d03