mirror of
https://github.com/tmux/tmux.git
synced 2025-10-17 15:21:45 +00:00
9e49ec6cd325bf521f63450f3f87525cb82c63a9

frees the command list bound to the key while it is still being executed, leading to a use after free. To prevent this, create a dead keys list and defer freeing replaced or removed key bindings until the main loop when the key binding will have finished executing. Found by Johan Friis when creating a key binding to reload his configuration file.
Description
tmux source code
Languages
C
87.5%
Roff
7.1%
Shell
2.7%
Yacc
1.3%
M4
0.8%
Other
0.5%