[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double-free in bashline.c
From: |
Chet Ramey |
Subject: |
Re: double-free in bashline.c |
Date: |
Fri, 17 Mar 2023 11:40:24 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
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.
--
``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/