Files
asterisk/res
Sean Bright 243f20a78d 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:31 +00:00
..
2023-04-03 07:58:23 -05:00
2024-08-12 15:21:33 +00:00
2023-01-31 11:23:11 -06:00
2024-02-28 18:39:01 +00:00
2023-01-10 14:07:44 -06:00
2023-04-03 07:58:23 -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:39:01 +00:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2023-12-08 13:11:51 +00:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2023-12-08 13:11:51 +00:00
2021-12-03 10:38:39 -06:00