Sean Bright
c80ce750bb
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:28 +00:00
..
2021-11-15 19:09:58 -06:00
2023-08-09 15:10:43 +00:00
2021-11-15 19:09:58 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 10:25:52 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 19:09:58 -06:00
2024-10-01 15:01:28 +00:00
2021-11-18 16:02:22 -06:00
2023-09-14 17:58:12 +00:00
2024-02-28 18:38:56 +00:00
2021-12-02 10:25:52 -06:00
2021-12-02 15:02:42 -06:00
2023-03-20 09:28:29 -05:00
2021-12-02 15:02:42 -06:00
2024-02-12 18:44:30 +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
2021-12-02 15:02:42 -06:00
2021-11-18 09:19:16 -06: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
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-03 12:12:02 -06:00
2024-04-22 12:02:37 +00:00
2021-12-02 10:25:52 -06:00
2021-12-02 15:02:42 -06:00
2024-08-12 15:21:29 +00:00
2024-08-12 15:21:29 +00:00
2024-08-12 15:21:29 +00:00
2024-08-12 15:21:29 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-07-07 08:22:43 -05:00
2021-12-13 09:00:04 -06:00
2021-12-13 09:00:04 -06:00
2021-12-02 15:02:42 -06:00
2023-01-30 16:17:20 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 10:38:23 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-18 09:20:10 -06:00
2021-12-02 15:02:42 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2020-03-13 09:58:59 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2023-05-03 09:39:14 -06:00
2021-09-10 11:08:35 -05:00
2023-04-10 14:38:18 -05:00
2021-12-13 09:00:04 -06:00
2021-11-18 09:20:10 -06:00
2024-08-12 15:21:29 +00:00
2021-12-02 15:02:42 -06:00
2022-09-08 12:44:35 -05:00
2024-06-05 18:09:56 +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
2023-11-28 19:53:54 +00:00
2021-11-18 16:13:03 -06: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
2021-12-02 15:02:42 -06:00
2022-01-31 07:19:06 -06:00
2021-12-15 09:58:12 -06:00
2021-12-13 09:00:04 -06:00
2021-12-02 15:02:42 -06:00
2024-04-29 13:23:57 +00:00
2023-10-05 14:37:55 +00:00
2021-11-18 09:20:10 -06:00
2023-09-22 14:34:30 +00:00
2021-12-02 15:02:42 -06:00
2024-07-01 19:42:09 +00:00
2023-11-07 16:32:13 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 19:09:58 -06:00
2024-04-30 14:14:08 +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
2023-09-20 19:14:50 +00:00
2021-11-18 16:25:23 -06:00
2020-12-09 13:06:04 -06:00
2023-01-30 16:17:20 -05:00
2021-12-03 12:12:02 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 19:09:58 -06:00
2021-11-15 19:09:58 -06:00
2023-08-09 15:10:43 +00:00
2023-01-30 16:17:20 -05:00
2023-01-30 16:17:20 -05:00
2023-01-30 16:17:20 -05:00
2021-12-03 12:12:02 -06:00
2021-12-03 12:12:02 -06:00
2021-11-18 17:04:31 -06:00
2023-12-20 14:02:20 +00:00
2021-12-03 12:12:02 -06:00
2021-11-18 12:46:12 -06:00
2022-02-23 15:20:25 -06:00
2021-11-18 12:46:12 -06:00
2024-02-28 18:38:56 +00:00
2024-08-12 15:21:29 +00:00
2021-12-03 12:12:02 -06:00
2024-02-28 18:38:56 +00:00
2024-09-03 15:29:30 +00:00
2021-11-15 19:09:58 -06:00
2022-01-21 10:05:48 -06: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
2021-12-02 15:02:42 -06:00
2022-01-19 09:48:21 -06: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
2022-04-26 15:35:52 -05:00
2021-11-18 09:20:10 -06:00
2021-12-13 09:00:04 -06:00
2021-12-02 10:38:23 -06:00
2021-12-02 10:38:23 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-12-13 09:00:04 -06:00
2024-08-12 15:21:29 +00:00
2021-12-13 09:00:04 -06:00
2021-12-13 09:00:04 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-12-02 10:38:23 -06:00
2021-12-03 12:12:02 -06:00
2021-12-02 15:02:42 -06:00
2022-05-09 08:21:58 -05:00
2024-02-23 16:39:18 +00:00
2021-11-18 09:20:10 -06:00
2021-11-18 09:20:10 -06:00
2021-12-02 15:02:42 -06:00
2022-01-05 09:41:35 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 10:25:52 -06:00
2022-09-26 09:40:32 -05:00
2021-12-13 09:00:04 -06:00
2021-12-02 15:02:42 -06:00
2023-01-30 16:17:20 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 10:25:52 -06: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
2023-03-02 08:21:37 -06:00
2022-09-12 09:49:58 -05:00
2021-12-02 15:02:42 -06:00
2023-01-30 16:17:20 -05:00
2021-11-29 08:49:55 -06:00