Files
asterisk/main
Sean Bright 7973b7474a 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

(cherry picked from commit c80ce750bb)
2024-11-14 20:00:45 +00:00
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2024-01-12 18:21:33 +00:00
2020-05-05 10:06:43 -05:00
2024-01-12 18:21:33 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2024-09-12 18:44:38 +00:00
2024-09-12 18:44:38 +00:00
2024-09-12 18:44:38 +00:00
2021-12-02 15:02:42 -06:00
2022-07-07 08:22:43 -05:00
2024-11-14 20:00:45 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2024-09-12 18:44:38 +00:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2017-12-20 12:40:01 -05:00
2024-01-12 18:21:32 +00:00
2024-01-17 14:54:33 -07:00
2023-05-08 17:55:17 +00:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2016-10-27 09:53:55 -04:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2024-01-12 18:21:33 +00:00
2016-10-27 09:53:55 -04:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-03-24 12:01:32 -05:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00