Sean Bright
5152a05416
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 243f20a78d )
2024-11-14 20:01:34 +00:00
..
2023-01-13 08:32:33 -06:00
2023-08-09 15:10:46 +00:00
2021-11-16 05:59:44 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:26:08 -06:00
2021-12-02 15:02:09 -06:00
2021-11-16 05:59:44 -06:00
2024-11-14 20:01:34 +00:00
2021-11-18 16:25:51 -06:00
2024-01-12 18:32:12 +00:00
2024-03-07 14:18:41 +00:00
2021-12-02 10:26:08 -06:00
2021-12-02 15:02:09 -06:00
2023-03-20 09:29:23 -05:00
2021-12-02 15:02:09 -06:00
2024-03-07 14:18:40 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 09:20:52 -06:00
2023-01-13 08:32:33 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-03 10:38:39 -06:00
2024-05-09 13:48:09 +00:00
2021-12-02 10:26:08 -06:00
2023-01-10 14:07:44 -06:00
2024-09-12 18:46:27 +00:00
2024-09-12 18:46:27 +00:00
2024-09-12 18:46:27 +00:00
2024-09-12 18:46:27 +00:00
2021-12-02 15:02:09 -06:00
2022-11-08 09:15:55 -06:00
2023-01-03 09:00:42 -06:00
2022-07-07 08:19:14 -05:00
2021-12-13 08:57:26 -06:00
2021-12-13 08:57:26 -06:00
2021-12-02 15:02:09 -06:00
2023-01-31 11:23:11 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 08:17:56 -06:00
2021-12-02 15:02:09 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-05-03 09:37:57 -06:00
2021-09-10 11:08:11 -05:00
2023-04-10 14:38:51 -05:00
2021-12-13 08:57:26 -06:00
2021-11-18 08:17:56 -06:00
2024-09-12 18:46:27 +00:00
2021-12-02 15:02:09 -06:00
2023-01-10 14:07:44 -06:00
2023-01-13 08:32:33 -06:00
2024-07-11 13:23:24 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2021-12-02 15:02:09 -06:00
2024-01-12 18:32:13 +00:00
2021-11-18 16:13:18 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-01-31 07:18:51 -06:00
2021-12-15 09:58:27 -06:00
2021-12-13 08:57:26 -06:00
2021-12-02 15:02:09 -06:00
2024-05-09 13:48:09 +00:00
2024-01-12 18:32:12 +00:00
2021-11-18 08:17:56 -06:00
2024-01-12 18:32:12 +00:00
2021-12-02 15:02:09 -06:00
2024-07-11 13:23:24 +00:00
2024-01-12 18:32:13 +00:00
2021-12-02 15:02:09 -06:00
2019-01-28 12:26:58 -07:00
2021-12-02 15:02:09 -06:00
2019-11-18 08:30:45 -06:00
2021-11-16 05:59:44 -06:00
2024-05-09 13:48:09 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2024-01-12 18:32:12 +00:00
2022-12-08 08:07:12 -06:00
2020-12-09 11:17:27 -06:00
2023-01-31 11:23:11 -06:00
2021-12-03 10:38:39 -06:00
2021-12-02 15:02:09 -06:00
2021-11-16 05:59:44 -06:00
2021-11-16 05:59:44 -06:00
2023-08-09 15:10:46 +00:00
2023-01-31 11:23:11 -06:00
2023-01-31 11:23:11 -06:00
2020-01-14 09:36:44 -06:00
2019-12-13 14:24:10 -06:00
2023-01-31 11:23:11 -06:00
2022-12-09 08:59:04 -06:00
2021-12-03 10:38:39 -06:00
2021-11-19 02:50:36 -06:00
2023-12-20 08:47:02 -07:00
2021-12-03 10:38:39 -06:00
2021-11-18 12:14:54 -06:00
2023-05-18 11:41:38 -06:00
2021-11-18 12:14:54 -06:00
2024-03-07 14:18:41 +00:00
2024-09-12 18:46:27 +00:00
2021-12-03 10:38:39 -06:00
2024-03-07 14:18:41 +00:00
2024-09-12 18:46:27 +00:00
2021-11-16 05:59:44 -06:00
2022-01-21 10:06:57 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-01-19 09:44:24 -06:00
2019-11-18 08:30:45 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2019-01-28 12:26:58 -07:00
2022-04-26 14:26:48 -05:00
2021-11-18 08:17:56 -06:00
2021-12-13 08:57:26 -06:00
2021-12-02 10:37:38 -06:00
2021-12-02 10:37:38 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-12-13 08:57:26 -06:00
2024-09-12 18:46:27 +00:00
2021-12-13 08:57:26 -06:00
2021-12-13 08:57:26 -06:00
2021-11-18 14:46:42 -06:00
2019-06-28 11:41:15 -05:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2021-12-02 10:37:38 -06:00
2021-12-03 10:38:39 -06:00
2021-12-02 15:02:09 -06:00
2022-05-09 08:21:45 -05:00
2024-03-07 14:18:41 +00:00
2021-11-18 08:17:56 -06:00
2021-11-18 08:17:56 -06:00
2021-12-02 15:02:09 -06:00
2023-01-03 09:00:42 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:26:08 -06:00
2022-09-26 08:53:41 -05:00
2021-12-13 08:57:26 -06:00
2021-12-02 15:02:09 -06:00
2023-01-31 11:23:11 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:26:08 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-03-01 09:50:02 -06:00
2023-05-11 13:05:49 -06:00
2018-06-23 08:26:19 +02:00
2021-12-02 15:02:09 -06:00
2023-01-31 11:23:11 -06:00
2021-11-20 13:05:04 +01:00