Files
asterisk/res
Sean Bright 750333ae03 res_agi.c: Ensure SIGCHLD handler functions are properly balanced.
Calls to `ast_replace_sigchld()` and `ast_unreplace_sigchld()` must be
balanced to ensure that we can capture the exit status of child
processes when we need to. This extends to functions that call
`ast_replace_sigchld()` and `ast_unreplace_sigchld()` such as
`ast_safe_fork()` and `ast_safe_fork_cleanup()`.

The primary change here is ensuring that we do not call
`ast_safe_fork_cleanup()` in `res_agi.c` if we have not previously
called `ast_safe_fork()`.

Additionally we reinforce some of the documentation and add an
assertion to, ideally, catch this sooner were this to happen again.

Fixes #922
2024-10-01 15:01:29 +00:00
..
2023-04-03 07:13:57 -05:00
2024-08-12 15:21:31 +00:00
2023-01-31 12:59:16 -06:00
2024-02-28 18:38:58 +00:00
2021-12-03 10:38:39 -06:00
2023-04-03 07:13:57 -05:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2022-07-12 07:46:03 -05:00
2021-12-03 10:38:39 -06:00
2021-11-18 16:59:26 -06:00
2024-02-28 18:38:58 +00:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2023-12-08 13:11:48 +00:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2023-12-08 13:11:48 +00:00
2021-12-03 10:38:39 -06:00