mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
action: fix UAF when using prompt during reconfigure
Reported-by: @jlindgren90 Fixes #3106
This commit is contained in:
parent
c9030dcc5b
commit
94c980c6be
3 changed files with 13 additions and 0 deletions
|
|
@ -78,6 +78,9 @@
|
|||
static void
|
||||
reload_config_and_theme(struct server *server)
|
||||
{
|
||||
/* Avoid UAF when dialog client is used during reconfigure */
|
||||
action_prompts_destroy();
|
||||
|
||||
scaled_buffer_invalidate_sharing();
|
||||
rcxml_finish();
|
||||
rcxml_read(rc.config_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue