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