action: fix UAF when using prompt during reconfigure

Reported-by: @jlindgren90

Fixes #3106
This commit is contained in:
Johan Malm 2025-09-26 20:42:31 +01:00 committed by Johan Malm
parent c9030dcc5b
commit 94c980c6be
3 changed files with 13 additions and 0 deletions

View file

@ -50,6 +50,7 @@ bool actions_contain_toggle_keybinds(struct wl_list *action_list);
void actions_run(struct view *activator, struct server *server,
struct wl_list *actions, struct cursor_context *ctx);
void action_prompts_destroy(void);
bool action_check_prompt_result(pid_t pid, int exit_code);
void action_free(struct action *action);