Re: double-free in bashline.c

2023-03-17 Thread Chet Ramey
On 3/16/23 3:44 AM, Grisha Levit wrote: A few functions in bashline.c free static variables but do not assign to them until after calling bash_tilde_expand, which may throw_to_top_level. If SIGINT is received at an inopportune time, these variables may be free-d again. Thanks for the report.

double-free in bashline.c

2023-03-16 Thread Grisha Levit
A few functions in bashline.c free static variables but do not assign to them until after calling bash_tilde_expand, which may throw_to_top_level. If SIGINT is received at an inopportune time, these variables may be free-d again. diff --git a/bashline.c b/bashline.c index 2745c4dd..b5c0a49f 10064