Skip to content

Commit

Permalink
ModuleSynchronous: don't segfault on free()
Browse files Browse the repository at this point in the history
When handling input, ensure that the tokenisation is handled correctly.

Fixes #784
  • Loading branch information
ThomasAdam committed Dec 28, 2022
1 parent 3110678 commit f613b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fvwm/module_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ void CMD_ModuleSynchronous(F_CMD_ARGS)
int sec = 0;
char *next;
char *token;
char *expect = ModuleFinishedStartupResponse;
char *expect = fxstrdup(ModuleFinishedStartupResponse);
fmodule *module;
fd_set in_fdset;
fd_set out_fdset;
Expand Down

0 comments on commit f613b5c

Please sign in to comment.