diff options
author | zhiv-git <107057313+zhiv-git@users.noreply.github.com> | 2022-06-08 23:38:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 22:38:21 +0200 |
commit | ce2665ca9604fe4f2095a0f5d71e1230b133ae07 (patch) | |
tree | 298384e1798c2117990b75cb8e0a6c6c4913bc14 /parser-specs | |
parent | 6ab64aa5b72f22ceee48551a453becbb2a5308e1 (diff) | |
download | i3-ce2665ca9604fe4f2095a0f5d71e1230b133ae07.tar.gz i3-ce2665ca9604fe4f2095a0f5d71e1230b133ae07.zip |
Fix segfault when bindsym command is empty (#5001)
Remove end token from BINDCOMMAND
fixes i3/i3#5000: bindsym command cannot be empty, because NULL string
causes i3 to segfault when copied in configure_binding()
Diffstat (limited to 'parser-specs')
-rw-r--r-- | parser-specs/config.spec | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/parser-specs/config.spec b/parser-specs/config.spec index b62491ed..30d3d687 100644 --- a/parser-specs/config.spec +++ b/parser-specs/config.spec @@ -400,8 +400,6 @@ state BINDCOMMAND: -> command = string -> call cfg_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $exclude_titlebar, $command) - end - -> call cfg_binding($bindtype, $modifiers, $key, $release, $border, $whole_window, $exclude_titlebar, $command) ################################################################################ # Mode configuration |