Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #16873

Re: [PATCH] Fix segfault with self-modifying array PROMPT_COMMAND

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] Fix segfault with self-modifying array PROMPT_COMMAND
Date 2020-08-31 10:48 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.1866.1598885330.2469.bug-bash@gnu.org> (permalink)
References <CAFLRLk_b0YTASZWJWEL2nf4DeAa+r6PWoH+KdUhH4iT+YJD3WQ@mail.gmail.com> <30b23e08-704d-cbbd-8454-728427f7897b@case.edu>

Show all headers | View raw


On 8/30/20 9:36 PM, Koichi Murase wrote:

> Bash Version: 5.1
> Patch Level: 0
> Release Status: release
> 
> Description:
> 
>   In the devel branch (e4d38c2d: commit bash-20200819 snapshot), a
>   segmentation fault occurs when a prompt command stored in the array
>   version of PROMPT_COMMAND unsets the corresponding element in
>   PROMPT_COMMAND.

Thanks for the report.

Chet


-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH] Fix segfault with self-modifying array PROMPT_COMMAND Chet Ramey <chet.ramey@case.edu> - 2020-08-31 10:48 -0400

csiph-web