Tim Waugh wrote:
> The signal handler termination_unwind_protect() can call
> maybe_save_shell_history() -> append_history() -> history_do_write()
> -> history_filename() -> xmalloc() -> malloc()
>
> and malloc() is not safe to call from a signal handler. This affects
> bash-2.05b as well as bash
The signal handler termination_unwind_protect() can call
maybe_save_shell_history() -> append_history() -> history_do_write()
-> history_filename() -> xmalloc() -> malloc()
and malloc() is not safe to call from a signal handler. This affects
bash-2.05b as well as bash-3.0.
Tim.
*/ ref 163235
pg