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

Attachment: pgpvkkALlQaTC.pgp
Description: PGP signature

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to